aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2015-04-09 16:55:47 +0000
committerAl Viro <[email protected]>2015-04-12 02:30:21 +0000
commit3309dd04cbcd2cdad168485af5cf3576b5051e49 (patch)
tree3e01f865306dee01b31f34c9e7e819a5f42a4087 /net/unix/af_unix.c
parentocfs2: move generic_write_checks() before the alignment checks (diff)
downloadkernel-3309dd04cbcd2cdad168485af5cf3576b5051e49.tar.gz
kernel-3309dd04cbcd2cdad168485af5cf3576b5051e49.zip
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 <[email protected]> Conflicts: fs/ext4/file.c
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions