]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85b943f1f19134fa32941a7e3ef2192920ac98fd
tree1c4b03c1d2ae16e14133c207e45da1557e15f0f3
parent7ab6e10ad9ad3afc9278bd82057b0764923fe2e4
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