]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: use errseq_t based error handling for reporting data writeback errors
authorJeff Layton <jlayton@redhat.com>
Thu, 6 Jul 2017 11:02:30 +0000 (07:02 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 6 Jul 2017 11:02:30 +0000 (07:02 -0400)
commitd73e24b030c1c75bc141e4e93a3c0bcf1a80ce3a
tree05443e39b44e721fdc8b8bdfd8a264cc13b2a042
parent079d95739726111dc4dc29433c85a04ae41e4018
ext4: use errseq_t based error handling for reporting data writeback errors

Add a call to filemap_report_wb_err at the end of ext4_sync_file. This
will ensure that we check and advance the errseq_t in the file, which
allows us to track and report errors on all open fds when they occur.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
fs/ext4/fsync.c