summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_export.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2018-06-05 10:09:33 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-06-06 08:10:26 -0700
commit541b5acc85916343a08f72dde17400cbb165417d (patch)
tree029ab9f02bae083242b30401e962ff85c1637b30 /fs/xfs/xfs_export.c
parent02a0fda875c89e826c9f9f7e6861a0314d6a6b7d (diff)
downloadlinux-541b5acc85916343a08f72dde17400cbb165417d.tar.bz2
xfs: verify root inode more thoroughly
When looking up the root inode at mount time, we don't actually do any verification to check that the inode is allocated and accounted for correctly in the INOBT. Make the checks on the root inode more robust by making it an untrusted lookup. This forces the inode lookup to use the inode btree to verify the inode is allocated and mapped correctly to disk. This will also have the effect of catching a significant number of AGI/INOBT related corruptions in AG 0 at mount time. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_export.c')
0 files changed, 0 insertions, 0 deletions