aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/uio.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-03-10 14:08:45 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-05-06 17:32:47 -0400
commit26978b8b4d83c46f4310b253db70fa9e65149e7c (patch)
treea080f083ccf61b949e41699f2d20f7efffce9114 /include/linux/uio.h
parentswitch {__,}blockdev_direct_IO() to iov_iter (diff)
downloadlinux-dev-26978b8b4d83c46f4310b253db70fa9e65149e7c.tar.xz
linux-dev-26978b8b4d83c46f4310b253db70fa9e65149e7c.zip
give ->direct_IO() a copy of iov_iter
the thing is, we want to advance what's given to ->direct_IO() as we are forming the request; however, the callers care about the amount of data actually transferred, not the amount we tried to transfer. It's more convenient to allow ->direct_IO() instances do use iov_iter_advance() on the copy of iov_iter, leaving the actual advancing of the original to caller. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/uio.h')
0 files changed, 0 insertions, 0 deletions