new helper: iov_iter_npages()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 19 Mar 2014 05:16:16 +0000 (01:16 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 6 May 2014 21:32:52 +0000 (17:32 -0400)
commitf67da30c1d5fc9e341bc8121708874bfd7b31e45
tree504966ed27e82dbcbe31786c9a0851a4ae79ef3e
parent5b46f25ddc6edf4adff1a137d453da542c27a640
new helper: iov_iter_npages()

counts the pages covered by iov_iter, up to given limit.
do_block_direct_io() and fuse_iter_npages() switched to
it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/direct-io.c
fs/fuse/file.c
include/linux/uio.h
mm/iov_iter.c