projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove SLAB_CTOR_CONSTRUCTOR
[cascardo/linux.git]
/
fs
/
fat
/
cache.c
diff --git
a/fs/fat/cache.c
b/fs/fat/cache.c
index
1959143
..
3c9c8a1
100644
(file)
--- a/
fs/fat/cache.c
+++ b/
fs/fat/cache.c
@@
-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)