commit | 0f352f8ee8412bd9d34fb2a6411241da61175c0e | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Dec 05 12:38:11 2016 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Mon Dec 05 12:38:11 2016 +1100 |
tree | 784a002b8122667ab1f2f6a819dc1d99523bf4c2 | |
parent | 96a3aefb8ffde23180130460b0b2407b328eb727 [diff] |
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>