From: Al Viro Date: Mon, 10 Mar 2014 18:08:45 +0000 (-0400) Subject: give ->direct_IO() a copy of iov_iter X-Git-Tag: omap-for-v3.16/fixes-against-rc1~45^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26978b8b4d83c46f4310b253db70fa9e65149e7c;p=pandora-kernel.git 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 --- Reading git-diff-tree failed