| commit | 561e8591bc7f75d023d5fb236f6e07e4d73064ec | [log] [tgz] |
|---|---|---|
| author | Darrick J. Wong <djwong@kernel.org> | Wed Mar 29 10:12:23 2023 -0700 |
| committer | Darrick J. Wong <djwong@kernel.org> | Sun Apr 02 17:06:16 2023 -0700 |
| tree | 6c7b5e6181932bca0a59065ea9c1e104ef3bb6a2 | |
| parent | 7e364e56293bb98cae1b55fd835f5991c4e96e7d [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 <djwong@kernel.org>