]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit9183976ef1c858c289b09066fd57aae51b86653c
treed9a30b05e31446929b303c411f93c3bd7fd37d2a
parent61c12b49e1c9c77d7a1bcc161de540d0fd21cf0c
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