Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b74fceae authored by Jeff Layton's avatar Jeff Layton Committed by Ilya Dryomov
Browse files

ceph: use errseq_t for writeback error reporting



Ensure that when writeback errors are marked that we report those to all
file descriptions that were open at the time of the error.

Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Reviewed-by: default avatar"Yan, Zheng" <zyan@redhat.com>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 95569713
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2113,7 +2113,7 @@ int ceph_fsync(struct file *file, loff_t start, loff_t end, int datasync)

	dout("fsync %p%s\n", inode, datasync ? " datasync" : "");

	ret = filemap_write_and_wait_range(inode->i_mapping, start, end);
	ret = file_write_and_wait_range(file, start, end);
	if (ret < 0)
		goto out;