aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorEric Sandeen <[email protected]>2014-09-23 16:05:32 +1000
committerDave Chinner <[email protected]>2014-09-23 16:05:32 +1000
commitfb040131561a6b34cefb92cdf598218104abeda0 (patch)
treec5fae1013adc56bb89a1443313e246882d0dfab7 /lib/test-string_helpers.c
parent8af3dcd3c89aef10375bdd79d5f336b22b57487c (diff)
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 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions