commit | b28fd7b5fe232d7643d7c0595938e998ceb58508 | [log] [tgz] |
---|---|---|
author | From: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | Mon May 05 17:30:20 2014 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Mon May 05 17:30:20 2014 +1000 |
tree | 13ecd856c65c33998ba458f54d0bf5674630e904 | |
parent | 3c353375761d81abfb66eb054aacceef31658e24 [diff] |
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>