]> err.no Git - linux-2.6/blobdiff - fs/smbfs/request.c
[Blackfin] arch: Fix gpio label handling
[linux-2.6] / fs / smbfs / request.c
index c288fbe7953d982e1980fc8dd6db9b7815044030..ca4b2d59c0ca6f501ff11466af81a6111a182afc 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/fs.h>
 #include <linux/slab.h>
 #include <linux/net.h>
+#include <linux/sched.h>
 
 #include <linux/smb_fs.h>
 #include <linux/smbno.h>
@@ -39,7 +40,7 @@ int smb_init_request_cache(void)
        req_cachep = kmem_cache_create("smb_request",
                                       sizeof(struct smb_request), 0,
                                       SMB_SLAB_DEBUG | SLAB_HWCACHE_ALIGN,
-                                      NULL, NULL);
+                                      NULL);
        if (req_cachep == NULL)
                return -ENOMEM;