git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
linux-2620-rc1-update-20061228
[openafs.git]
/
src
/
afs
/
LINUX
/
osi_vfsops.c
diff --git
a/src/afs/LINUX/osi_vfsops.c
b/src/afs/LINUX/osi_vfsops.c
index
4613b79
..
2ed7c74
100644
(file)
--- a/
src/afs/LINUX/osi_vfsops.c
+++ b/
src/afs/LINUX/osi_vfsops.c
@@
-276,7
+276,11
@@
afs_alloc_inode(struct super_block *sb)
{
struct vcache *vcp;
+#if defined(SLAB_KERNEL)
vcp = (struct vcache *) kmem_cache_alloc(afs_inode_cachep, SLAB_KERNEL);
+#else
+ vcp = (struct vcache *) kmem_cache_alloc(afs_inode_cachep, GFP_KERNEL);
+#endif
if (!vcp)
return NULL;