diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-12-05 12:38:11 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-12-05 12:38:11 +1100 |
commit | 0f352f8ee8412bd9d34fb2a6411241da61175c0e (patch) | |
tree | 784a002b8122667ab1f2f6a819dc1d99523bf4c2 /fs/xfs/libxfs/xfs_refcount_btree.c | |
parent | 96a3aefb8ffde23180130460b0b2407b328eb727 (diff) | |
download | linux-0f352f8ee8412bd9d34fb2a6411241da61175c0e.tar.bz2 |
xfs: error out if trying to add attrs and anextents > 0
We shouldn't assert if somehow we end up trying to add an attr fork to
an inode that apparently already has attr extents because this is an
indication of on-disk corruption. Instead, return an error code to
userspace.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_refcount_btree.c')
0 files changed, 0 insertions, 0 deletions