commit | 76f6777c9cc04efe8036b1d2aa76e618c1631cc6 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Fri Dec 06 21:34:51 2019 +0000 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Dec 06 13:57:04 2019 -0800 |
tree | d6383685fe462de7eb3007541ee2e26a03b2927d | |
parent | 43a2898631a8beee66c1d64c1e860f43d96b2e91 [diff] |
pipe: Fix iteration end check in fuse_dev_splice_write() 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>