commit | 529e7deba1cae0d2130c86a2a51ec9c75c5e5134 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Tue Mar 01 10:20:16 2022 -0800 |
committer | Darrick J. Wong <djwong@kernel.org> | Tue Mar 29 20:21:52 2022 -0700 |
tree | f0e6f39296e9ba1fc6a26cce2bc498574900dffe | |
parent | 4444dff077e318f0adf6af1fbf36f91767566e19 [diff] |
xfs_repair: check the ftype of dot and dotdot directory entries The long-format directory block checking code skips the filetype check for the '.' and '..' entries, even though they're part of the ondisk format. This leads to repair failing to catch subtle corruption at the start of a directory. Found by fuzzing bu[0].filetype = zeroes in xfs/386. Signed-off-by: Darrick J. Wong <djwong@kernel.org>