]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/fat/cache.c
ufs: fix parenthesisation in ufs_set_fs_state()
[linux-2.6-omap-h63xx.git] / fs / fat / cache.c
index 3c9c8a15ec73fec582d6959b3f1d41e1c4ab5edc..639b3b4f86d15a8a17a331a3fabdbb16d0bc8048 100644 (file)
@@ -36,7 +36,7 @@ static inline int fat_max_cache(struct inode *inode)
 
 static struct kmem_cache *fat_cache_cachep;
 
-static void init_once(void *foo, struct kmem_cache *cachep, unsigned long flags)
+static void init_once(struct kmem_cache *cachep, void *foo)
 {
        struct fat_cache *cache = (struct fat_cache *)foo;
 
@@ -48,7 +48,7 @@ int __init fat_cache_init(void)
        fat_cache_cachep = kmem_cache_create("fat_cache",
                                sizeof(struct fat_cache),
                                0, SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD,
-                               init_once, NULL);
+                               init_once);
        if (fat_cache_cachep == NULL)
                return -ENOMEM;
        return 0;