summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2026-08-26 22:31:10 -0700
committerCarlos Maiolino <cem@kernel.org>2026-09-07 07:50:34 +0200
commit9f84792b40d0c96833341602144574bf0bd14a6a (patch)
tree568c5931e75681f2f2b65c6cc24b998291205534 /scripts
parent0fe77e57588b989450d668f7c978bb0264c5c340 (diff)
xfs: don't spin forever on zero-length dirents when salvaging them
LOLLM noticed that xrep_dir_recover_data can spin forever if it encounters an unused dirent that claims to have length zero. Fix that, and prevent the same thing from happening with a zero-length entry. Cc: stable@vger.kernel.org # v6.10 Fixes: b1991ee3e7cf85 ("xfs: online repair of directories") Signed-off-by: Darrick J. Wong <djwong@kernel.org> Assisted-by: LOLLM # finding obvious bugs Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions