[pnfs] CVS: nfsv4

Benny Halevy Panasas bhalevy at citi.umich.edu
Tue Dec 5 06:42:50 EST 2006


CVSROOT:	/cvs
Module name:	nfsv4
Changes by:	bhalevy at citi.	2006/12/05 06:42:50

Modified files:
	cvs/pnfs/fs/nfsd: nfs4state.c 

Log message:
don't use ' ' in slab as it triggers the following WARN_ON in mm/slab.c:1965
WARN_ON(strchr(name, ' '));	/* It confuses parsers */

Index: fs/nfsd/nfs4state.c
===================================================================
RCS file: /cvs/nfsv4/cvs/pnfs/fs/nfsd/nfs4state.c,v
retrieving revision 1.19
diff -d -u -r1.19 nfs4state.c
--- fs/nfsd/nfs4state.c	4 Dec 2006 21:42:13 -0000	1.19
+++ fs/nfsd/nfs4state.c	5 Dec 2006 11:41:38 -0000
@@ -1098,7 +1098,7 @@
if (deleg_slab == NULL)
goto out_nomem;
#if defined(CONFIG_PNFS)
-	pnfs_layout_slab = kmem_cache_create("pnfs layouts",
+	pnfs_layout_slab = kmem_cache_create("pnfs_layouts",
sizeof(struct nfs4_layout), 0, 0, NULL, NULL);
if (pnfs_layout_slab == NULL)
goto out_nomem;



More information about the pNFS mailing list