diff options
author | Darrick J. Wong <[email protected]> | 2023-04-11 19:00:16 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2023-04-11 19:00:16 -0700 |
commit | 9dceccc5822f2ecea12a89f24d7cad1f3e5eab7c (patch) | |
tree | 9ed1442fa8c784c0c092592ed5ecdaa50bc6bad0 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 30f8ee5e7e0ccce396dff209c6cbce49d0d7e167 (diff) |
xfs: use the directory name hash function for dir scrubbing
The directory code has a directory-specific hash computation function
that includes a modified hash function for case-insensitive lookups.
Hence we must use that function (and not the raw da_hashname) when
checking the dabtree structure.
Found by accidentally breaking xfs/188 to create an abnormally huge
case-insensitive directory and watching scrub break.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[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