xfs: validate the realtime geometry in xfs_validate_sb_common
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 25 Mar 2020 06:03:24 +0000 (23:03 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 27 Mar 2020 15:32:53 +0000 (08:32 -0700)
commitf8e566c0f5e1fd8de33ccec6eb1ff815cd4b0dc3
tree239a369608ca265d874b94174ddf0ca7ef95069c
parent27fb5a72f50aa770dd38b0478c07acacef97e3e7
xfs: validate the realtime geometry in xfs_validate_sb_common

Validate the geometry of the realtime geometry when we mount the
filesystem, so that we don't abruptly shut down the filesystem later on.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_sb.c