diff options
author | 2022-02-03 08:29:21 -0800 | |
---|---|---|
committer | 2022-02-09 21:07:24 -0800 | |
commit | b97cca3ba9098522e5a1c3388764ead42640c1a5 (patch) | |
tree | 231beccc5ac2a13adf75ed5811742640457e677f /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | xfs: ensure log flush at the end of a synchronous fallocate call (diff) | |
download | wireguard-linux-b97cca3ba9098522e5a1c3388764ead42640c1a5.tar.xz wireguard-linux-b97cca3ba9098522e5a1c3388764ead42640c1a5.zip |
xfs: only bother with sync_filesystem during readonly remount
In commit 02b9984d6408, we pushed a sync_filesystem() call from the VFS
into xfs_fs_remount. The only time that we ever need to push dirty file
data or metadata to disk for a remount is if we're remounting the
filesystem read only, so this really could be moved to xfs_remount_ro.
Once we've moved the call site, actually check the return value from
sync_filesystem.
Fixes: 02b9984d6408 ("fs: push sync_filesystem() down to the file system's remount_fs()")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions