commit | 5679897eb104cec9e99609c3f045a0c20603da4c | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Sun Jan 30 08:53:16 2022 -0800 |
committer | Darrick J. Wong <djwong@kernel.org> | Sun Jan 30 08:59:47 2022 -0800 |
tree | 4b138d97d9eb4719e22e6c7c40a6652c6f2eeb0e | |
parent | 2719c7160dcfaae1f73a1c0c210ad3281c19022e [diff] |
vfs: make sync_filesystem return errors from ->sync_fs Strangely, sync_filesystem ignores the return code from the ->sync_fs call, which means that syscalls like syncfs(2) never see the error. This doesn't seem right, so fix that. 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>