diff options
author | 2022-01-30 08:53:16 -0800 | |
---|---|---|
committer | 2022-01-30 08:59:47 -0800 | |
commit | 5679897eb104cec9e99609c3f045a0c20603da4c (patch) | |
tree | 4b138d97d9eb4719e22e6c7c40a6652c6f2eeb0e /lib/test_overflow.c | |
parent | vfs: make freeze_super abort when sync_filesystem returns error (diff) | |
download | linux-dev-5679897eb104cec9e99609c3f045a0c20603da4c.tar.xz linux-dev-5679897eb104cec9e99609c3f045a0c20603da4c.zip |
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>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions