]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/fat/cache.c
Remove SLAB_CTOR_CONSTRUCTOR
[mirror_ubuntu-artful-kernel.git] / fs / fat / cache.c
index 1959143c1d27ad9876abff95f5c6668566217513..3c9c8a15ec73fec582d6959b3f1d41e1c4ab5edc 100644 (file)
@@ -40,8 +40,7 @@ static void init_once(void *foo, struct kmem_cache *cachep, unsigned long flags)
 {
        struct fat_cache *cache = (struct fat_cache *)foo;
 
-       if (flags & SLAB_CTOR_CONSTRUCTOR)
-               INIT_LIST_HEAD(&cache->cache_list);
+       INIT_LIST_HEAD(&cache->cache_list);
 }
 
 int __init fat_cache_init(void)