diff options
| author | Darrick J. Wong <[email protected]> | 2017-11-28 05:40:19 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2017-11-30 16:43:52 +0000 |
| commit | 3b42d385753c22b29d259ccb9d4c3f419e583b30 (patch) | |
| tree | 53e0c6b8ae3e364dc1e4f91a151f20998bbb927c /tools/perf/scripts/python/sched-migration.py | |
| parent | xfs: remove unused parameter from xfs_writepage_map (diff) | |
| download | kernel-3b42d385753c22b29d259ccb9d4c3f419e583b30.tar.gz kernel-3b42d385753c22b29d259ccb9d4c3f419e583b30.zip | |
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 <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
