commit | 3309dd04cbcd2cdad168485af5cf3576b5051e49 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Apr 09 12:55:47 2015 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Apr 11 22:30:21 2015 -0400 |
tree | 3e01f865306dee01b31f34c9e7e819a5f42a4087 | |
parent | 90320251db0fe3d05f2b10686ec936c7d6ecd99a [diff] |
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 <viro@zeniv.linux.org.uk> Conflicts: fs/ext4/file.c