commit | ac7f052b9e1534c8248f814b6f0068ad8d4a06d2 | [log] [tgz] |
---|---|---|
author | Alexey Kuznetsov <kuznet@parallels.com> | Tue Jul 19 12:48:01 2016 -0700 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Fri Jul 29 14:10:57 2016 +0200 |
tree | a20abcc011644c469ad2c5f4b9a8cdac884984d8 | |
parent | 0f7d93416d97f3a943d6add836ec0d681ae030f5 [diff] |
fuse: fsync() did not return IO errors Due to implementation of fuse writeback filemap_write_and_wait_range() does not catch errors. We have to do this directly after fuse_sync_writes() Signed-off-by: Alexey Kuznetsov <kuznet@virtuozzo.com> Signed-off-by: Maxim Patlasov <mpatlasov@virtuozzo.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Fixes: 4d99ff8f12eb ("fuse: Turn writeback cache on") Cc: <stable@vger.kernel.org> # v3.15+