linux/fs/xfs/scrub
Darrick J. Wong 3b42d38575 xfs: scrub inode mode properly
Since we've used up all the bits in i_mode, the existing mode check
doesn't actually do anything useful.  However, we've not used all the
bit values in the format portion of i_mode, so we /do/ need to test
that for bad values.

Fixes: 80e4e1268 ("xfs: scrub inodes")
Fixes-coverity-id: 1423992
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
2017-11-30 08:43:52 -08:00
..
agheader.c xfs: check the uniqueness of the AGFL entries 2017-11-09 19:27:32 -08:00
alloc.c xfs: scrub free space btrees 2017-10-26 15:38:25 -07:00
attr.c xfs: pass inode number to xfs_scrub_ino_set_{preen,warning} 2017-11-09 09:10:45 -08:00
bmap.c xfs: trivial sparse fixes for the new scrub code 2017-11-06 11:53:58 -08:00
btree.c xfs: fix btree scrub deref check 2017-11-09 09:10:45 -08:00
btree.h xfs: create helpers to scrub a metadata btree 2017-10-26 15:38:24 -07:00
common.c xfs: pass inode number to xfs_scrub_ino_set_{preen,warning} 2017-11-09 09:10:45 -08:00
common.h xfs: pass inode number to xfs_scrub_ino_set_{preen,warning} 2017-11-09 09:10:45 -08:00
dabtree.c xfs: only check da node header padding on v5 filesystems 2017-11-09 09:10:45 -08:00
dabtree.h xfs: scrub extended attribute leaf space 2017-11-01 15:03:16 -07:00
dir.c xfs: fix uninitialized return values in scrub code 2017-11-09 09:10:45 -08:00
ialloc.c xfs: scrub inode btrees 2017-10-26 15:38:25 -07:00
inode.c xfs: scrub inode mode properly 2017-11-30 08:43:52 -08:00
parent.c xfs: fix uninitialized return values in scrub code 2017-11-09 09:10:45 -08:00
quota.c xfs: calculate correct offset in xfs_scrub_quota_item 2017-11-28 08:57:11 -08:00
refcount.c xfs: scrub refcount btrees 2017-10-26 15:38:25 -07:00
rmap.c xfs: scrub rmap btrees 2017-10-26 15:38:25 -07:00
rtbitmap.c xfs: scrub realtime bitmap/summary 2017-10-26 15:38:26 -07:00
scrub.c xfs: trivial sparse fixes for the new scrub code 2017-11-06 11:53:58 -08:00
scrub.h xfs: scrub quota information 2017-10-26 15:38:26 -07:00
symlink.c xfs: scrub symbolic links 2017-10-26 15:38:26 -07:00
trace.c xfs: create helpers to scrub a metadata btree 2017-10-26 15:38:24 -07:00
trace.h xfs: scrub btree keys and records 2017-10-26 15:38:24 -07:00
xfs_scrub.h