]> err.no Git - linux-2.6/blobdiff - fs/fat/cache.c
Merge git://oss.sgi.com:8090/xfs/linux-2.6
[linux-2.6] / fs / fat / cache.c
index fda25479af26720690969dde01f444d8bc730f07..3222f51c41cf0a88637760f2f45729ef1f6a31c4 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(struct kmem_cache *cachep, void *foo)
+static void init_once(void *foo)
 {
        struct fat_cache *cache = (struct fat_cache *)foo;
 
@@ -61,7 +61,7 @@ void fat_cache_destroy(void)
 
 static inline struct fat_cache *fat_cache_alloc(struct inode *inode)
 {
-       return kmem_cache_alloc(fat_cache_cachep, GFP_KERNEL);
+       return kmem_cache_alloc(fat_cache_cachep, GFP_NOFS);
 }
 
 static inline void fat_cache_free(struct fat_cache *cache)