summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_reflink.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2018-09-29 13:49:00 +1000
committerDave Chinner <david@fromorbit.com>2018-09-29 13:49:00 +1000
commitf369a13cead821e679c7415dc66a17ec48cc26bf (patch)
tree0cf0008a0fcd989798e8862e6fd863dd0478123a /fs/xfs/xfs_reflink.c
parent2863c2ebc4f45d2bc150016f36e2f31c155597e8 (diff)
xfs: don't treat unknown di_flags2 as corruption in scrub
xchk_inode_flags2() currently treats any di_flags2 values that the running kernel doesn't recognize as corruption, and calls xchk_ino_set_corrupt() if they are set. However, it's entirely possible that these flags were set in some newer kernel and are quite valid, but ignored in this kernel. (Validators don't care one bit about unknown di_flags2.) Call xchk_ino_set_warning instead, because this may or may not actually indicate a problem. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_reflink.c')
0 files changed, 0 insertions, 0 deletions