From: Tuomas Tynkkynen b28fd7b5fe xfs: Fix wrong error codes being returned
xfs_{compat_,}attrmulti_by_handle could return an errno with incorrect
sign in some cases. While at it, make sure ENOMEM is returned instead of
E2BIG if kmalloc fails.

Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2014-05-05 17:30:20 +10:00
..
2013-05-07 18:45:36 -05:00
2014-03-07 16:19:14 +11:00
2013-11-06 16:31:27 -06:00
2013-05-07 18:45:36 -05:00
2012-11-19 20:11:24 -06:00
2013-08-12 16:53:39 -05:00
2012-11-19 20:11:24 -06:00
2014-05-05 17:30:15 +10:00
2014-05-05 17:30:15 +10:00
2014-02-27 15:21:07 +11:00
2013-09-12 16:13:41 -07:00
2012-05-14 16:20:54 -05:00
2013-08-12 16:56:06 -05:00
2014-02-27 15:21:07 +11:00
2013-11-06 12:41:51 -06:00
2013-05-07 18:45:36 -05:00
2014-05-05 17:30:15 +10:00
2014-05-05 17:25:50 +10:00
2014-01-06 13:50:06 -06:00
2012-10-17 12:01:25 -05:00
2013-11-06 12:41:51 -06:00
2013-12-04 14:11:05 -06:00
2013-05-07 18:45:36 -05:00