]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_repair: refactor fixed inode location checks
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 27 Feb 2020 20:04:29 +0000 (15:04 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 27 Feb 2020 20:04:29 +0000 (15:04 -0500)
commita3e126aa1e67b74ec5ceb3adfc50390f03ff35a8
tree511c7067885c2308a70e7540db16eb4b420e18ac
parentb1f7ac05b1fd9d74079136ba7d6576ebe91b2a82
xfs_repair: refactor fixed inode location checks

Refactor the checking and resetting of fixed-location inodes (root,
rbmino, rsumino) into a helper function.

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/xfs_repair.c