xfs: repair superblocks
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>
Showing
- fs/xfs/Makefile 1 addition, 0 deletionsfs/xfs/Makefile
- fs/xfs/libxfs/xfs_sb.c 22 additions, 0 deletionsfs/xfs/libxfs/xfs_sb.c
- fs/xfs/libxfs/xfs_sb.h 3 additions, 0 deletionsfs/xfs/libxfs/xfs_sb.h
- fs/xfs/scrub/agheader_repair.c 70 additions, 0 deletionsfs/xfs/scrub/agheader_repair.c
- fs/xfs/scrub/repair.h 2 additions, 0 deletionsfs/xfs/scrub/repair.h
- fs/xfs/scrub/scrub.c 1 addition, 1 deletionfs/xfs/scrub/scrub.c
Loading
Please register or sign in to comment