Skip to content
Commit 26978b8b authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 31b14039
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment