]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: repair superblocks
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 28 Jun 2018 20:11:57 +0000 (15:11 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 28 Jun 2018 20:11:57 +0000 (15:11 -0500)
commitb153fb40c81b5f1a56d160666b8123264e6ba129
treea6f1978a1602501b18276b595850a228e2fea233
parent3464dff5c9fc1ced18d9bfd32f754ab61c85f671
xfs: repair superblocks

Source kernel commit: d25522f10cfa342a20867086a516c45c87b0877c

If one of the backup superblocks is found to differ seriously from
superblock 0, write out a fresh copy from the in-core sb.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_sb.c
libxfs/xfs_sb.h