git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8af3dcd
)
xfs: don't ASSERT on corrupt ftype
author
Eric Sandeen
<sandeen@sandeen.net>
Tue, 23 Sep 2014 06:05:32 +0000
(16:05 +1000)
committer
Dave Chinner
<david@fromorbit.com>
Tue, 23 Sep 2014 06:05:32 +0000
(16:05 +1000)
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 <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_da_format.c
patch
|
blob
|
history
diff --cc
fs/xfs/libxfs/xfs_da_format.c
Simple merge