diff options
author | Darrick J. Wong <[email protected]> | 2024-04-22 09:48:19 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2024-04-23 16:55:16 -0700 |
commit | 327ed702d84034879572812f580cb769848af7ae (patch) | |
tree | a74395760fb6bfc2722dd85cd4258734044bcf8c /scripts/gdb/linux/utils.py | |
parent | 3f50ddbf4b470f8566f99a83597da50180d937c0 (diff) |
xfs: inode repair should ensure there's an attr fork to store parent pointers
The runtime parent pointer update code expects that any file being moved
around the directory tree already has an attr fork. However, if we had
to rebuild an inode core record, there's a chance that we zeroed forkoff
as part of the inode to pass the iget verifiers.
Therefore, if we performed any repairs on an inode core, ensure that the
inode has a nonzero forkoff before unlocking the inode.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions