Revision 76f6777c9cc04efe8036b1d2aa76e618c1631cc6 authored by David Howells on 06 December 2019, 21:34:51 UTC, committed by Linus Torvalds on 06 December 2019, 21:57:04 UTC
Fix the iteration end check in fuse_dev_splice_write().  The iterator
position can only be compared with == or != since wrappage may be involved.

Fixes: 8cefc107ca54 ("pipe: Use head and tail pointers for the ring, not cursor and length")
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 43a2898
History
File Mode Size
Kconfig -rw-r--r-- 1.8 KB
Makefile -rw-r--r-- 260 bytes
balloc.c -rw-r--r-- 27.7 KB
cylinder.c -rw-r--r-- 5.7 KB
dir.c -rw-r--r-- 15.7 KB
file.c -rw-r--r-- 998 bytes
ialloc.c -rw-r--r-- 9.3 KB
inode.c -rw-r--r-- 32.8 KB
namei.c -rw-r--r-- 7.2 KB
super.c -rw-r--r-- 44.2 KB
swab.h -rw-r--r-- 2.5 KB
ufs.h -rw-r--r-- 5.0 KB
ufs_fs.h -rw-r--r-- 34.6 KB
util.c -rw-r--r-- 6.1 KB
util.h -rw-r--r-- 16.8 KB

back to top