]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: check for unknown v5 feature bits in superblock write verifier
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 5 Oct 2018 02:36:11 +0000 (21:36 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 5 Oct 2018 02:36:11 +0000 (21:36 -0500)
commitf0874fc5ac7043abbac5eb7498a1166fdab4a6e2
tree70554342b47b1fb76ef1132d0e44b82202fc4e8c
parentbc226d36595d57c4ce28022730e25bdc5162d02a
xfs: check for unknown v5 feature bits in superblock write verifier

Source kernel commit: 9e037cb7972fab5a9f55bca4ebe6e4dbf7e160bc

Make sure we never try to write the superblock with unknown feature bits
set.  We checked those at mount time, so if they're set now then memory
is corrupt.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_sb.c