diff options
author | Darrick J. Wong <[email protected]> | 2023-04-11 19:00:22 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2023-04-11 19:00:22 -0700 |
commit | 1fc7a0597d237c17b6501f8c33b76d3eaaae9079 (patch) | |
tree | 0a255759b7315e807bc225c5c3be2bc7ffc17394 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 38bb13108479f5cac955bb291ea6aa6d24268f4f (diff) |
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 <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions