aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorBrian Foster <[email protected]>2015-01-21 23:04:24 +0000
committerDave Chinner <[email protected]>2015-01-21 23:04:24 +0000
commit4d949021aac8b63c9c3b8a83cc8a29759c7e1d5e (patch)
tree01e7fb14cd22b75567407160b3d146be911f7cf6 /net/switchdev/switchdev.c
parentLinux 3.19-rc1 (diff)
downloadkernel-4d949021aac8b63c9c3b8a83cc8a29759c7e1d5e.tar.gz
kernel-4d949021aac8b63c9c3b8a83cc8a29759c7e1d5e.zip
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 <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions