diff options
Diffstat (limited to 'fs/xfs/xfs_trans_ail.c')
-rw-r--r-- | fs/xfs/xfs_trans_ail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c index cb0f3a84cc68..859482f53b5a 100644 --- a/fs/xfs/xfs_trans_ail.c +++ b/fs/xfs/xfs_trans_ail.c | |||
@@ -762,7 +762,7 @@ xfs_trans_ail_init( | |||
762 | 762 | ||
763 | ailp = kmem_zalloc(sizeof(struct xfs_ail), KM_MAYFAIL); | 763 | ailp = kmem_zalloc(sizeof(struct xfs_ail), KM_MAYFAIL); |
764 | if (!ailp) | 764 | if (!ailp) |
765 | return ENOMEM; | 765 | return -ENOMEM; |
766 | 766 | ||
767 | ailp->xa_mount = mp; | 767 | ailp->xa_mount = mp; |
768 | INIT_LIST_HEAD(&ailp->xa_ail); | 768 | INIT_LIST_HEAD(&ailp->xa_ail); |
@@ -781,7 +781,7 @@ xfs_trans_ail_init( | |||
781 | 781 | ||
782 | out_free_ailp: | 782 | out_free_ailp: |
783 | kmem_free(ailp); | 783 | kmem_free(ailp); |
784 | return ENOMEM; | 784 | return -ENOMEM; |
785 | } | 785 | } |
786 | 786 | ||
787 | void | 787 | void |