summaryrefslogtreecommitdiff
path: root/lib/locking-selftest-rlock-softirq.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-04-07 03:50:38 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-12 05:29:46 +0300
commitf765b134c0d3f294f6084d3e0a11de184059a387 (patch)
treec4492b1ee9661d40f1e2e2b0e88c9ba369a1162f /lib/locking-selftest-rlock-softirq.h
parent22c6186ecea0be9eff1c399298ad36e94a59995f (diff)
downloadlinux-f765b134c0d3f294f6084d3e0a11de184059a387.tar.xz
new_sync_write(): discard ->ki_pos unless the return value is positive
That allows ->write_iter() instances much more convenient life wrt iocb->ki_pos (and fixes several filesystems with borderline POSIX violations when zero-length write succeeds and changes the current position). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/locking-selftest-rlock-softirq.h')
0 files changed, 0 insertions, 0 deletions