diff options
Diffstat (limited to 'fs/ntfs')
-rw-r--r-- | fs/ntfs/super.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c index 4566b9182551..90c4e3a29706 100644 --- a/fs/ntfs/super.c +++ b/fs/ntfs/super.c | |||
@@ -3143,7 +3143,7 @@ static int __init init_ntfs_fs(void) | |||
3143 | 3143 | ||
3144 | ntfs_index_ctx_cache = kmem_cache_create(ntfs_index_ctx_cache_name, | 3144 | ntfs_index_ctx_cache = kmem_cache_create(ntfs_index_ctx_cache_name, |
3145 | sizeof(ntfs_index_context), 0 /* offset */, | 3145 | sizeof(ntfs_index_context), 0 /* offset */, |
3146 | SLAB_HWCACHE_ALIGN, NULL /* ctor */, NULL /* dtor */); | 3146 | SLAB_HWCACHE_ALIGN, NULL /* ctor */); |
3147 | if (!ntfs_index_ctx_cache) { | 3147 | if (!ntfs_index_ctx_cache) { |
3148 | printk(KERN_CRIT "NTFS: Failed to create %s!\n", | 3148 | printk(KERN_CRIT "NTFS: Failed to create %s!\n", |
3149 | ntfs_index_ctx_cache_name); | 3149 | ntfs_index_ctx_cache_name); |
@@ -3151,7 +3151,7 @@ static int __init init_ntfs_fs(void) | |||
3151 | } | 3151 | } |
3152 | ntfs_attr_ctx_cache = kmem_cache_create(ntfs_attr_ctx_cache_name, | 3152 | ntfs_attr_ctx_cache = kmem_cache_create(ntfs_attr_ctx_cache_name, |
3153 | sizeof(ntfs_attr_search_ctx), 0 /* offset */, | 3153 | sizeof(ntfs_attr_search_ctx), 0 /* offset */, |
3154 | SLAB_HWCACHE_ALIGN, NULL /* ctor */, NULL /* dtor */); | 3154 | SLAB_HWCACHE_ALIGN, NULL /* ctor */); |
3155 | if (!ntfs_attr_ctx_cache) { | 3155 | if (!ntfs_attr_ctx_cache) { |
3156 | printk(KERN_CRIT "NTFS: Failed to create %s!\n", | 3156 | printk(KERN_CRIT "NTFS: Failed to create %s!\n", |
3157 | ntfs_attr_ctx_cache_name); | 3157 | ntfs_attr_ctx_cache_name); |
@@ -3160,7 +3160,7 @@ static int __init init_ntfs_fs(void) | |||
3160 | 3160 | ||
3161 | ntfs_name_cache = kmem_cache_create(ntfs_name_cache_name, | 3161 | ntfs_name_cache = kmem_cache_create(ntfs_name_cache_name, |
3162 | (NTFS_MAX_NAME_LEN+1) * sizeof(ntfschar), 0, | 3162 | (NTFS_MAX_NAME_LEN+1) * sizeof(ntfschar), 0, |
3163 | SLAB_HWCACHE_ALIGN, NULL, NULL); | 3163 | SLAB_HWCACHE_ALIGN, NULL); |
3164 | if (!ntfs_name_cache) { | 3164 | if (!ntfs_name_cache) { |
3165 | printk(KERN_CRIT "NTFS: Failed to create %s!\n", | 3165 | printk(KERN_CRIT "NTFS: Failed to create %s!\n", |
3166 | ntfs_name_cache_name); | 3166 | ntfs_name_cache_name); |
@@ -3169,7 +3169,7 @@ static int __init init_ntfs_fs(void) | |||
3169 | 3169 | ||
3170 | ntfs_inode_cache = kmem_cache_create(ntfs_inode_cache_name, | 3170 | ntfs_inode_cache = kmem_cache_create(ntfs_inode_cache_name, |
3171 | sizeof(ntfs_inode), 0, | 3171 | sizeof(ntfs_inode), 0, |
3172 | SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, NULL, NULL); | 3172 | SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, NULL); |
3173 | if (!ntfs_inode_cache) { | 3173 | if (!ntfs_inode_cache) { |
3174 | printk(KERN_CRIT "NTFS: Failed to create %s!\n", | 3174 | printk(KERN_CRIT "NTFS: Failed to create %s!\n", |
3175 | ntfs_inode_cache_name); | 3175 | ntfs_inode_cache_name); |
@@ -3179,7 +3179,7 @@ static int __init init_ntfs_fs(void) | |||
3179 | ntfs_big_inode_cache = kmem_cache_create(ntfs_big_inode_cache_name, | 3179 | ntfs_big_inode_cache = kmem_cache_create(ntfs_big_inode_cache_name, |
3180 | sizeof(big_ntfs_inode), 0, | 3180 | sizeof(big_ntfs_inode), 0, |
3181 | SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, | 3181 | SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, |
3182 | ntfs_big_inode_init_once, NULL); | 3182 | ntfs_big_inode_init_once); |
3183 | if (!ntfs_big_inode_cache) { | 3183 | if (!ntfs_big_inode_cache) { |
3184 | printk(KERN_CRIT "NTFS: Failed to create %s!\n", | 3184 | printk(KERN_CRIT "NTFS: Failed to create %s!\n", |
3185 | ntfs_big_inode_cache_name); | 3185 | ntfs_big_inode_cache_name); |