]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9119df5b4f623943f2a98fc7ec4a187a83f5e645
tree239a369608ca265d874b94174ddf0ca7ef95069c
parent48438b08802f0c8ad2d66dd1c457ea4fe2f34241
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