diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-12-06 18:40:54 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-12-06 18:45:17 -0800 |
commit | 3f113c2739b1b068854c7ffed635c2bd790d1492 (patch) | |
tree | eb90502a370c94b61dad3bae880afacfb106a796 /fs/xfs/libxfs/xfs_ialloc.c | |
parent | 9c07bca793b4ff9f0b7871e2a928a1b28b8fa4e3 (diff) |
xfs: make xchk_iget safer in the presence of corrupt inode btrees
When scrub is trying to iget an inode, ensure that it won't end up
deadlocked on a cycle in the inode btree by using an empty transaction
to store all the buffers.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc.c')
0 files changed, 0 insertions, 0 deletions