diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 21:38:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 21:38:13 -0400 |
commit | 9a79b2274186fade17134929d4f85b70d59a3840 (patch) | |
tree | d74e9ecc83ef617166445501b49087726595fb63 /fs/ntfs | |
parent | 75473c1d3930896bbabcc99bb58fafd53ef42473 (diff) | |
parent | 20c2df83d25c6a95affe6157a4c9cac4cf5ffaac (diff) |
Merge branch 'kmem_death' of master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6
* 'kmem_death' of master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6:
mm: Remove slab destructors from kmem_cache_create().
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 4566b91825..90c4e3a297 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); |