xfs: add missing nrext64 inode flag check to scrub
authorDarrick J. Wong <djwong@kernel.org>
Fri, 15 Dec 2023 18:03:34 +0000 (10:03 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 15 Dec 2023 18:03:34 +0000 (10:03 -0800)
commit576d30ecb620ae3bc156dfb2a4e91143e7f3256d
tree2b973c110e80c88bfade17ad745df5255d3304e1
parent259ba1d36f559653390c0e9dbdee5c4ffc28bb29
xfs: add missing nrext64 inode flag check to scrub

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>
fs/xfs/scrub/inode.c