diff options
| author | Eric Sandeen <[email protected]> | 2014-09-23 06:05:32 +0000 |
|---|---|---|
| committer | Dave Chinner <[email protected]> | 2014-09-23 06:05:32 +0000 |
| commit | fb040131561a6b34cefb92cdf598218104abeda0 (patch) | |
| tree | c5fae1013adc56bb89a1443313e246882d0dfab7 /fs/xfs/xfs_rtalloc.c | |
| parent | xfs: xlog_cil_force_lsn doesn't always wait correctly (diff) | |
| download | kernel-fb040131561a6b34cefb92cdf598218104abeda0.tar.gz kernel-fb040131561a6b34cefb92cdf598218104abeda0.zip | |
xfs: don't ASSERT on corrupt ftype
xfs_dir3_data_get_ftype() gets the file type off disk, but ASSERTs
if it's invalid:
ASSERT(type < XFS_DIR3_FT_MAX);
We shouldn't ASSERT on bad values read from disk. V3 dirs are
CRC-protected, but V2 dirs + ftype are not.
Signed-off-by: Eric Sandeen <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
0 files changed, 0 insertions, 0 deletions
