xfs: Fix incorrect positive ENOMEM return
authorJoe Perches <joe@perches.com>
Wed, 25 Mar 2015 04:00:24 +0000 (15:00 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 25 Mar 2015 04:00:24 +0000 (15:00 +1100)
commit5e9383f97e773e9a5385144ef5561f2ac0ee1349
tree4ab0bccd3bf921b2b21252ec852e8e460461287f
parent20dafeefac97d1a690b113f2a954dc84fdf8f290
xfs: Fix incorrect positive ENOMEM return

added a positive error return value.

This value filters up through the return layers and should be
negative as the other return values are in the same function.

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_super.c