From: Al Viro Date: Sat, 22 Mar 2014 10:51:37 +0000 (-0400) Subject: iov_iter_truncate() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~45^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c949334a9e2581646c6ff0d1470a805b1e5be99;p=pandora-kernel.git iov_iter_truncate() Now It Can Be Done(tm) - we don't need to do iov_shorten() in generic_file_direct_write() anymore, now that all ->direct_IO() instances are converted to proper iov_iter methods and honour iter->count and iter->iov_offset properly. Get rid of count/ocount arguments of generic_file_direct_write(), while we are at it. Signed-off-by: Al Viro --- Reading git-diff-tree failed