From: Al Viro Date: Thu, 9 Apr 2015 16:55:47 +0000 (-0400) Subject: switch generic_write_checks() to iocb and iter X-Git-Tag: omap-for-v4.1/fixes-rc1~116^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3309dd04cbcd2cdad168485af5cf3576b5051e49;p=pandora-kernel.git switch generic_write_checks() to iocb and iter ... returning -E... upon error and amount of data left in iter after (possible) truncation upon success. Note, that normal case gives a non-zero (positive) return value, so any tests for != 0 _must_ be updated. Signed-off-by: Al Viro Conflicts: fs/ext4/file.c --- Reading git-diff-tree failed