• Darrick J. Wong's avatar
    xfs: zap broken inode forks · e744cef2
    Darrick J. Wong authored
    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: default avatarDarrick J. Wong <djwong@kernel.org>
    Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
    e744cef2
xfs_attr_leaf.h 3.81 KB