From: Brian Foster Date: Wed, 21 Jan 2015 23:04:24 +0000 (+1100) Subject: xfs: remove incorrect error negation in attr_multi ioctl X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~141^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d949021aac8b63c9c3b8a83cc8a29759c7e1d5e;p=pandora-kernel.git 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 Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed