xfs: return errors in xfs_fs_sync_fs
authorDarrick J. Wong <djwong@kernel.org>
Sun, 30 Jan 2022 16:53:17 +0000 (08:53 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Sun, 30 Jan 2022 16:59:47 +0000 (08:59 -0800)
commit2d86293c70750e4331e9616aded33ab6b47c299d
treef43112758f791729b3b08065102cd43b5f333fca
parentdd5532a4994bfda0386eb2286ec00758cee08444
xfs: return errors in xfs_fs_sync_fs

Now that the VFS will do something with the return values from
->sync_fs, make ours pass on error codes.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Christian Brauner <brauner@kernel.org>
fs/xfs/xfs_super.c