diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-04-12 05:00:22 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-04-12 05:00:22 +0300 |
commit | 1fc7a0597d237c17b6501f8c33b76d3eaaae9079 (patch) | |
tree | 0a255759b7315e807bc225c5c3be2bc7ffc17394 /fs/fat | |
parent | 38bb13108479f5cac955bb291ea6aa6d24268f4f (diff) | |
download | linux-1fc7a0597d237c17b6501f8c33b76d3eaaae9079.tar.xz |
xfs: don't take the MMAPLOCK when scrubbing file metadata
The MMAPLOCK stabilizes mappings in a file's pagecache. Therefore, we
do not need it to check directories, symlinks, extended attributes, or
file-based metadata. Reduce its usage to the one case that requires it,
which is when we want to scrub the data fork of a regular file.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/fat')
0 files changed, 0 insertions, 0 deletions