]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: validate some of the log space information
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 23 May 2018 21:30:48 +0000 (16:30 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 23 May 2018 21:30:48 +0000 (16:30 -0500)
commiteb9cee60389948e2b91a5177a9a491dbf44be815
tree515cb3426d33f87fd4d28728d9b03d80829f96ba
parent41b465faa0bc6bd15df95a8fac80464084e695a5
xfs_repair: validate some of the log space information

Validate the log space information in a similar manner to the kernel so
that repair will stumble over (and fix) broken log info that prevents
mounting.  Fixes logsunit fuzz-and-fix failures in xfs/350.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
repair/globals.h
repair/sb.c
repair/xfs_repair.c