]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: set mapping error in writepage_locked when it fails
authorJeff Layton <jlayton@redhat.com>
Thu, 25 May 2017 10:57:50 +0000 (06:57 -0400)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 11 Aug 2017 09:38:26 +0000 (11:38 +0200)
commit103cd2e634e7255512f0f1fe997ba7c481b335d7
treed9a30b05e31446929b303c411f93c3bd7fd37d2a
parent24e02d8d7522250c7f6d85f37353c6b79f28d2fb
fuse: set mapping error in writepage_locked when it fails

This ensures that we see errors on fsync when writeback fails.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/file.c