commit | 8ba92d43d499f4920af983a7c16e02304dd36932 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Jan 08 10:51:07 2018 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Jan 08 10:54:47 2018 -0800 |
tree | 48abe89c855c9d9ecc7be9a40fca11e88d1605fc | |
parent | 9cfb9b47479e237d217dbcfafe034cbf98f45909 [diff] |
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 <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>