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
..
2017-11-30 08:43:52 -08:00
2017-11-15 18:21:01 -08:00
2013-05-07 18:45:36 -05:00
2017-11-09 15:50:29 -08:00
2017-10-26 15:38:26 -07:00
2017-09-02 08:22:19 -07:00
2017-11-17 09:51:57 -08:00
2017-04-03 15:18:17 -07:00
2017-10-26 15:38:27 -07:00
2017-11-09 15:50:29 -08:00
2017-11-09 15:50:29 -08:00
2017-11-17 09:51:57 -08:00
2017-10-26 15:38:27 -07:00
2017-08-04 13:43:36 -07:00
2017-10-18 18:51:27 -04:00
2017-04-03 15:18:17 -07:00
2017-11-17 09:51:57 -08:00
2017-09-01 10:55:30 -07:00
2017-09-01 10:55:30 -07:00