]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: don't fail directory repairs when grabbing inodes
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 9 Mar 2018 02:35:23 +0000 (20:35 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 9 Mar 2018 02:35:23 +0000 (20:35 -0600)
commit12ac6e048a0fbf987820ee613465eecf884a8528
tree1c336f8f869bc35ff8e8f21f3a0f28124b967eec
parentad9ac929a32cc8f09bfab7d4f1c5f13f1fa9adc7
xfs_repair: don't fail directory repairs when grabbing inodes

There are a few places where xfs_repair needs to be able to load a
damaged directory inode to perform repairs.  Since inline data fork
verifiers can now be customized, refactor libxfs_iget to enable
repair to get at this so that we don't crash in phase 6.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/attrset.c
include/xfs_inode.h
libxfs/rdwr.c
libxfs/trans.c
libxfs/util.c
repair/phase6.c