xfs: global error sign conversion
[deliverable/linux.git] / fs / xfs / xfs_trans_ail.c
index cb0f3a84cc68452155b36c6b4a754edd450aa619..859482f53b5a87540e54b2cddb7097c53caa7447 100644 (file)
@@ -762,7 +762,7 @@ xfs_trans_ail_init(
 
        ailp = kmem_zalloc(sizeof(struct xfs_ail), KM_MAYFAIL);
        if (!ailp)
-               return ENOMEM;
+               return -ENOMEM;
 
        ailp->xa_mount = mp;
        INIT_LIST_HEAD(&ailp->xa_ail);
@@ -781,7 +781,7 @@ xfs_trans_ail_init(
 
 out_free_ailp:
        kmem_free(ailp);
-       return ENOMEM;
+       return -ENOMEM;
 }
 
 void
This page took 0.025658 seconds and 5 git commands to generate.