diff options
| author | 2014-05-05 17:30:20 +1000 | |
|---|---|---|
| committer | 2014-05-05 17:30:20 +1000 | |
| commit | b28fd7b5fe232d7643d7c0595938e998ceb58508 (patch) | |
| tree | 13ecd856c65c33998ba458f54d0bf5674630e904 /lib/parser.c | |
| parent | xfs: remove dquot hints (diff) | |
| download | wireguard-linux-b28fd7b5fe232d7643d7c0595938e998ceb58508.tar.xz wireguard-linux-b28fd7b5fe232d7643d7c0595938e998ceb58508.zip | |
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>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions
