• Christoph Hellwig's avatar
    fs: simplify the generic_write_sync prototype · e2592217
    Christoph Hellwig authored
    The kiocb already has the new position, so use that.  The only interesting
    case is AIO, where we currently don't bother updating ki_pos.  We're about
    to free the kiocb after we're done, so we might as well update it to make
    everyone's life simpler.
    
    While we're at it also return the bytes written argument passed in if
    we were successful so that the boilerplate error switch code in the
    callers can go away.
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    e2592217
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
aops.c Loading commit data...
aops.h Loading commit data...
attrib.c Loading commit data...
attrib.h Loading commit data...
bitmap.c Loading commit data...
bitmap.h Loading commit data...
collate.c Loading commit data...
collate.h Loading commit data...
compress.c Loading commit data...
debug.c Loading commit data...
debug.h Loading commit data...
dir.c Loading commit data...
dir.h Loading commit data...
endian.h Loading commit data...
file.c Loading commit data...
index.c Loading commit data...
index.h Loading commit data...
inode.c Loading commit data...
inode.h Loading commit data...
layout.h Loading commit data...
lcnalloc.c Loading commit data...
lcnalloc.h Loading commit data...
logfile.c Loading commit data...
logfile.h Loading commit data...
malloc.h Loading commit data...
mft.c Loading commit data...
mft.h Loading commit data...
mst.c Loading commit data...
namei.c Loading commit data...
ntfs.h Loading commit data...
quota.c Loading commit data...
quota.h Loading commit data...
runlist.c Loading commit data...
runlist.h Loading commit data...
super.c Loading commit data...
sysctl.c Loading commit data...
sysctl.h Loading commit data...
time.h Loading commit data...
types.h Loading commit data...
unistr.c Loading commit data...
upcase.c Loading commit data...
usnjrnl.c Loading commit data...
usnjrnl.h Loading commit data...
volume.h Loading commit data...