commit | 3b42d385753c22b29d259ccb9d4c3f419e583b30 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Nov 27 21:40:19 2017 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Nov 30 08:43:52 2017 -0800 |
tree | 53e0c6b8ae3e364dc1e4f91a151f20998bbb927c | |
parent | 2d5f4b5bebccfe983715ebc9255151e611234643 [diff] |
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>