diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_super.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c index d4e7ef8f8df9..36fb8a657c55 100644 --- a/fs/xfs/linux-2.6/xfs_super.c +++ b/fs/xfs/linux-2.6/xfs_super.c | |||
@@ -43,7 +43,6 @@ | |||
43 | #include "xfs_itable.h" | 43 | #include "xfs_itable.h" |
44 | #include "xfs_fsops.h" | 44 | #include "xfs_fsops.h" |
45 | #include "xfs_rw.h" | 45 | #include "xfs_rw.h" |
46 | #include "xfs_acl.h" | ||
47 | #include "xfs_attr.h" | 46 | #include "xfs_attr.h" |
48 | #include "xfs_buf_item.h" | 47 | #include "xfs_buf_item.h" |
49 | #include "xfs_utils.h" | 48 | #include "xfs_utils.h" |
@@ -1735,18 +1734,8 @@ xfs_init_zones(void) | |||
1735 | if (!xfs_ili_zone) | 1734 | if (!xfs_ili_zone) |
1736 | goto out_destroy_inode_zone; | 1735 | goto out_destroy_inode_zone; |
1737 | 1736 | ||
1738 | #ifdef CONFIG_XFS_POSIX_ACL | ||
1739 | xfs_acl_zone = kmem_zone_init(sizeof(xfs_acl_t), "xfs_acl"); | ||
1740 | if (!xfs_acl_zone) | ||
1741 | goto out_destroy_ili_zone; | ||
1742 | #endif | ||
1743 | |||
1744 | return 0; | 1737 | return 0; |
1745 | 1738 | ||
1746 | #ifdef CONFIG_XFS_POSIX_ACL | ||
1747 | out_destroy_ili_zone: | ||
1748 | #endif | ||
1749 | kmem_zone_destroy(xfs_ili_zone); | ||
1750 | out_destroy_inode_zone: | 1739 | out_destroy_inode_zone: |
1751 | kmem_zone_destroy(xfs_inode_zone); | 1740 | kmem_zone_destroy(xfs_inode_zone); |
1752 | out_destroy_efi_zone: | 1741 | out_destroy_efi_zone: |
@@ -1780,9 +1769,6 @@ xfs_init_zones(void) | |||
1780 | STATIC void | 1769 | STATIC void |
1781 | xfs_destroy_zones(void) | 1770 | xfs_destroy_zones(void) |
1782 | { | 1771 | { |
1783 | #ifdef CONFIG_XFS_POSIX_ACL | ||
1784 | kmem_zone_destroy(xfs_acl_zone); | ||
1785 | #endif | ||
1786 | kmem_zone_destroy(xfs_ili_zone); | 1772 | kmem_zone_destroy(xfs_ili_zone); |
1787 | kmem_zone_destroy(xfs_inode_zone); | 1773 | kmem_zone_destroy(xfs_inode_zone); |
1788 | kmem_zone_destroy(xfs_efi_zone); | 1774 | kmem_zone_destroy(xfs_efi_zone); |