diff options
author | Brian Foster <bfoster@redhat.com> | 2015-01-22 10:04:24 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-01-22 10:04:24 +1100 |
commit | 4d949021aac8b63c9c3b8a83cc8a29759c7e1d5e (patch) | |
tree | 01e7fb14cd22b75567407160b3d146be911f7cf6 /fs/xfs/xfs_extfree_item.h | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) | |
download | linux-4d949021aac8b63c9c3b8a83cc8a29759c7e1d5e.tar.bz2 |
xfs: remove incorrect error negation in attr_multi ioctl
xfs_compat_attrmulti_by_handle() calls memdup_user() which returns a
negative error code. The error code is negated by the caller and thus
incorrectly converted to a positive error code.
Remove the error negation such that the negative error is passed
correctly back up to userspace.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_extfree_item.h')
0 files changed, 0 insertions, 0 deletions