summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_qm_syscalls.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2023-04-11 19:00:34 -0700
committerDarrick J. Wong <djwong@kernel.org>2023-04-11 19:00:34 -0700
commit674f0d0dc6b5b2228c4e9d597a62d5aa6b54a9c5 (patch)
tree4463a6506b469fc3ec6ed185054d19488247d11e /fs/xfs/xfs_qm_syscalls.c
parent6cee51e6d02bac7ee72969aa23e32c9bdcd7bb6e (diff)
xfs: only allocate free space bitmap for xattr scrub if needed
The free space bitmap is only required if we're going to check the bestfree space at the end of an xattr leaf block. Therefore, we can reduce the memory requirements of this scrubber if we can determine that the xattr is in short format. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_qm_syscalls.c')
0 files changed, 0 insertions, 0 deletions