iov_iter: fix return type of __pipe_get_pages()
authorIlya Dryomov <idryomov@gmail.com>
Wed, 2 May 2018 18:16:56 +0000 (20:16 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 May 2018 19:43:15 +0000 (15:43 -0400)
commite76b6312391bdd62e31dc86cb65e478b07b7909e
tree1c4b03c1d2ae16e14133c207e45da1557e15f0f3
parent16a34adb9392b2fe4195267475ab5b472e55292c
iov_iter: fix return type of __pipe_get_pages()

It returns -EFAULT and happens to be a helper for pipe_get_pages()
whose return type is ssize_t.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
lib/iov_iter.c