]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - repair/globals.h
xfs_repair: use libxfs function to calculate root inode location
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 27 Feb 2020 20:05:00 +0000 (15:05 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 27 Feb 2020 20:05:00 +0000 (15:05 -0500)
commit90b2397eb94daba3bc37d853e31415e45b8e5f9a
tree554b0201e9b4e707d553037aba45f275c064d78e
parenta3e126aa1e67b74ec5ceb3adfc50390f03ff35a8
xfs_repair: use libxfs function to calculate root inode location

Use libxfs_ialloc_calc_rootino to compute the location of the root
inode, and improve the function comments while we're at it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
repair/globals.c
repair/globals.h
repair/xfs_repair.c