aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorMaxim Patlasov <[email protected]>2016-07-19 18:12:26 -0700
committerMiklos Szeredi <[email protected]>2016-07-29 14:10:57 +0200
commit9ebce595f63a407c5cec98f98f9da8459b73740a (patch)
tree48c65e0bd9fa2c98258b7d5c032fdf9591c291d8 /lib/dynamic_debug.c
parentac7f052b9e1534c8248f814b6f0068ad8d4a06d2 (diff)
fuse: fuse_flush must check mapping->flags for errors
fuse_flush() calls write_inode_now() that triggers writeback, but actual writeback will happen later, on fuse_sync_writes(). If an error happens, fuse_writepage_end() will set error bit in mapping->flags. So, we have to check mapping->flags after fuse_sync_writes(). Signed-off-by: Maxim Patlasov <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]> Fixes: 4d99ff8f12eb ("fuse: Turn writeback cache on") Cc: <[email protected]> # v3.15+
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions