diff options
author | Maxim Patlasov <mpatlasov@virtuozzo.com> | 2016-07-19 18:12:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-16 09:30:50 +0200 |
commit | 9ca5f11d9261e7ed491e425b2efde5e9cecf1447 (patch) | |
tree | f2dd3e821bef9c5e66d98b9641f810f55ba232f8 /scripts/gdb/linux/tasks.py | |
parent | 3d1c64d81fd887ec0cac56f0299c2234a5450011 (diff) |
fuse: fuse_flush must check mapping->flags for errors
commit 9ebce595f63a407c5cec98f98f9da8459b73740a upstream.
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 <mpatlasov@virtuozzo.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Fixes: 4d99ff8f12eb ("fuse: Turn writeback cache on")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions