diff options
| author | Andreas Gruenbacher <[email protected]> | 2020-01-14 17:12:18 +0100 |
|---|---|---|
| committer | Andreas Gruenbacher <[email protected]> | 2020-02-06 18:49:41 +0100 |
| commit | 6e5e41e2dc4e4413296d5a4af54ac92d7cd52317 (patch) | |
| tree | 0a5a4c20e89e2b402fab07ade9bfca0e2226ce78 /net/unix/af_unix.c | |
| parent | 4c0e8dda608a51855225c611b5c6b442f95fbc56 (diff) | |
gfs2: fix O_SYNC write handling
In gfs2_file_write_iter, for direct writes, the error checking in the buffered
write fallback case is incomplete. This can cause inode write errors to go
undetected. Fix and clean up gfs2_file_write_iter along the way.
Based on a proposed fix by Christoph Hellwig <[email protected]>.
Fixes: 967bcc91b044 ("gfs2: iomap direct I/O support")
Cc: [email protected] # v4.19+
Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions