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
File | Mode | Size |
---|---|---|
include | ||
.gitignore | -rw-r--r-- | 143 bytes |
Kconfig | -rw-r--r-- | 7.9 KB |
Makefile | -rw-r--r-- | 2.2 KB |
gen_init_cpio.c | -rw-r--r-- | 12.8 KB |
gen_initramfs_list.sh | -rwxr-xr-x | 8.0 KB |
initramfs_data.S | -rw-r--r-- | 1.3 KB |
Computing file changes ...