commit | 26978b8b4d83c46f4310b253db70fa9e65149e7c | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Mon Mar 10 14:08:45 2014 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue May 06 17:32:47 2014 -0400 |
tree | a080f083ccf61b949e41699f2d20f7efffce9114 | |
parent | 31b140398ce56ab41646eda7f02bcb78d6a4c916 [diff] |
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>