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)
commit6acec592c6bc9a4c3136e46430e14767b07f9f1a
tree05443e39b44e721fdc8b8bdfd8a264cc13b2a042
parent383aa543c2f46f245d652c0e5c77390f07ece657
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