Fix off-by-one in __pipe_get_pages()
authorAl Viro <viro@ZenIV.linux.org.uk>
Tue, 11 Oct 2016 17:21:14 +0000 (18:21 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Oct 2016 17:40:01 +0000 (10:40 -0700)
commit1689c73a739d094b544c680b0dfdebe52ffee8fb
tree5a45d8a901398a27c3142e962a97865304e74f16
parent6b5e09a748ad0a0b198d0e268c7e689044bfe48a
Fix off-by-one in __pipe_get_pages()

it actually worked only when requested area ended on the page boundary...

Reported-by: Marco Grassi <marco.gra@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/iov_iter.c