]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xfs: add missing nrext64 inode flag check to scrub
authorDarrick J. Wong <djwong@kernel.org>
Wed, 27 Mar 2024 00:12:25 +0000 (17:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:28:48 +0000 (15:28 +0200)
commitb9358db0a811ff698b0a743bcfb80dfc44b88ebd
treed021eaea6d313956bdd46f50ad2dedc7af4720ca
parent1a48327c9e5ae4ca1a949188b807fcabbfc6e568
xfs: add missing nrext64 inode flag check to scrub

commit 576d30ecb620ae3bc156dfb2a4e91143e7f3256d upstream.

Add this missing check that the superblock nrext64 flag is set if the
inode flag is set.

Fixes: 9b7d16e34bbeb ("xfs: Introduce XFS_DIFLAG2_NREXT64 and associated helpers")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Catherine Hoang <catherine.hoang@oracle.com>
Acked-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/scrub/inode.c