diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-02-19 17:01:45 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-03 18:47:37 -0800 |
commit | f7d37aca13fa2ea928d13a3472c87dc558e101d3 (patch) | |
tree | e9c8f2fd2565390b2580da74aa7511860502d4ff /fs/xfs/scrub/bmap_repair.c | |
parent | 146ea069aaa6741d3a926990f3791bbb7128ddd9 (diff) |
xfs: zap broken inode forks
Determine if inode fork damage is responsible for the inode being unable
to pass the ifork verifiers in xfs_iget and zap the fork contents if
this is true. Once this is done the fork will be empty but we'll be
able to construct an in-core inode, and a subsequent call to the inode
fork repair ioctl will search the rmapbt to rebuild the records that
were in the fork.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/scrub/bmap_repair.c')
0 files changed, 0 insertions, 0 deletions