aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2022-03-24 22:13:26 +0000
committerAndreas Gruenbacher <[email protected]>2022-03-24 22:40:43 +0000
commit3bde4c48586074202044456285a97ccdf9048988 (patch)
tree473c22c835a05f8177016a401c82749b041f37c4 /net/unix/af_unix.c
parentgfs2: Remove dead code in gfs2_file_read_iter (diff)
downloadkernel-3bde4c48586074202044456285a97ccdf9048988.tar.gz
kernel-3bde4c48586074202044456285a97ccdf9048988.zip
gfs2: Make sure not to return short direct writes
When direct writes fail with -ENOTBLK because we're writing into a hole (gfs2_iomap_begin()) or because of a page invalidation failure (iomap_dio_rw()), we're falling back to buffered writes. In that case, when we lose the inode glock in gfs2_file_buffered_write(), we want to re-acquire it instead of returning a short write. Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions