summaryrefslogtreecommitdiffstats
path: root/fs/fcntl.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-07-07 21:20:52 +0200
committerJeff Layton <jlayton@redhat.com>2017-08-01 14:39:29 +0200
commit3b49c9a1e984b524142afc7536041d8c66877113 (patch)
tree350dabeb53253f0fabbcd3984fadd8454c1be04a /fs/fcntl.c
parentgfs2: convert to errseq_t based writeback error reporting for fsync (diff)
downloadlinux-3b49c9a1e984b524142afc7536041d8c66877113.tar.xz
linux-3b49c9a1e984b524142afc7536041d8c66877113.zip
fs: convert a pile of fsync routines to errseq_t based reporting
This patch converts most of the in-kernel filesystems that do writeback out of the pagecache to report errors using the errseq_t-based infrastructure that was recently added. This allows them to report errors once for each open file description. Most filesystems have a fairly straightforward fsync operation. They call filemap_write_and_wait_range to write back all of the data and wait on it, and then (sometimes) sync out the metadata. For those filesystems this is a straightforward conversion from calling filemap_write_and_wait_range in their fsync operation to calling file_write_and_wait_range. Acked-by: Jan Kara <jack@suse.cz> Acked-by: Dave Kleikamp <dave.kleikamp@oracle.com> Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions