fs: convert __generic_file_fsync to use errseq_t based reporting
authorJeff Layton <jlayton@redhat.com>
Thu, 6 Jul 2017 11:02:29 +0000 (07:02 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 6 Jul 2017 11:02:29 +0000 (07:02 -0400)
commit383aa543c2f46f245d652c0e5c77390f07ece657
tree6525ad72a49001daa068ada2f20af62013a60dcb
parent372cf243ea9a36d88ff67ae44f4512f64a6bca81
fs: convert __generic_file_fsync to use errseq_t based reporting

Many simple, block-based filesystems use generic_file_fsync as their
fsync operation. Some others (ext* and fat) also call this function
to handle syncing out data.

Switch this code over to use errseq_t based error reporting so that
all of these filesystems get reliable error reporting via fsync,
fdatasync and msync.

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