]> 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)
commit5a262d9db9a3e082c484daaee1f07afbeb5eb38a
tree239a369608ca265d874b94174ddf0ca7ef95069c
parentfd9d8b32ae000d1e85333d5d2dc395f36acb8b94
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