]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: validate the realtime geometry in xfs_validate_sb_common libxfs-5.7-sync_2020-04-28
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 6 Apr 2020 19:04:25 +0000 (12:04 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 21 Apr 2020 19:53:14 +0000 (12:53 -0700)
commit19d32c905bd3b14cc5e5448b01fb71ae1b2d8d41
treec76a26700ea61ee714b240d179edf06fe14977b5
parentbc8e8334142c31344813c214e22f8465dba51993
xfs: validate the realtime geometry in xfs_validate_sb_common

Source kernel commit: f8e566c0f5e1fd8de33ccec6eb1ff815cd4b0dc3

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>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
libxfs/libxfs_priv.h
libxfs/xfs_sb.c