diff options
| author | Darrick J. Wong <[email protected]> | 2018-01-08 18:51:07 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2018-01-08 18:54:47 +0000 |
| commit | 8ba92d43d499f4920af983a7c16e02304dd36932 (patch) | |
| tree | 48abe89c855c9d9ecc7be9a40fca11e88d1605fc /fs/xfs/libxfs/xfs_ialloc_btree.c | |
| parent | xfs: provide a centralized method for verifying inline fork data (diff) | |
| download | kernel-8ba92d43d499f4920af983a7c16e02304dd36932.tar.gz kernel-8ba92d43d499f4920af983a7c16e02304dd36932.zip | |
xfs: fail out of xfs_attr3_leaf_lookup_int if it looks corrupt
If the xattr leaf block looks corrupt, return -EFSCORRUPTED to userspace
instead of ASSERTing on debug kernels or running off the end of the
buffer on regular kernels.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc_btree.c')
0 files changed, 0 insertions, 0 deletions
