Commit 1b180274 authored by Jeff Layton's avatar Jeff Layton

xfs: minimal conversion to errseq_t writeback error reporting

Just check and advance the data errseq_t in struct file before
before returning from fsync on normal files. Internal filemap_*
callers are left as-is.
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
parent 6acec592
...@@ -140,7 +140,7 @@ xfs_file_fsync( ...@@ -140,7 +140,7 @@ xfs_file_fsync(
trace_xfs_file_fsync(ip); trace_xfs_file_fsync(ip);
error = filemap_write_and_wait_range(inode->i_mapping, start, end); error = file_write_and_wait_range(file, start, end);
if (error) if (error)
return error; return error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment