From: Al Viro Date: Fri, 4 Apr 2014 16:15:19 +0000 (-0400) Subject: lustre: get rid of messing with iovecs X-Git-Tag: omap-for-v3.16/fixes-against-rc1~45^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b42b15fdad3ebb790250041d1517acebb9bd56d9;p=pandora-kernel.git lustre: get rid of messing with iovecs * switch to ->read_iter/->write_iter * keep a pointer to iov_iter instead of iov/nr_segs * do not modify iovecs; use iov_iter_truncate()/iov_iter_advance() and a new primitive - iov_iter_reexpand() (expand previously truncated iterator) istead. * (racy) check for lustre VMAs intersecting with iovecs kept for now as for_each_iov() loop. Signed-off-by: Al Viro --- Reading git-diff-tree failed