diff options
author | Darrick J. Wong <[email protected]> | 2023-04-11 19:00:34 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2023-04-11 19:00:34 -0700 |
commit | 674f0d0dc6b5b2228c4e9d597a62d5aa6b54a9c5 (patch) | |
tree | 4463a6506b469fc3ec6ed185054d19488247d11e /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 6cee51e6d02bac7ee72969aa23e32c9bdcd7bb6e (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 <[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