[Oracleasm-commits] jlbec commits r373 - trunk/kernel
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Apr 9 14:05:01 PDT 2007
Author: jlbec
Date: 2007-04-09 14:05:00 -0700 (Mon, 09 Apr 2007)
New Revision: 373
Modified:
trunk/kernel/oracleasm.c
Log:
SLAB_KERNEL is deprecated
Modified: trunk/kernel/oracleasm.c
===================================================================
--- trunk/kernel/oracleasm.c 2007-02-09 19:19:19 UTC (rev 372)
+++ trunk/kernel/oracleasm.c 2007-04-09 21:05:00 UTC (rev 373)
@@ -285,7 +285,7 @@
static struct inode *asmdisk_alloc_inode(struct super_block *sb)
{
- struct asm_disk_info *d = kmem_cache_alloc(asmdisk_cachep, SLAB_KERNEL);
+ struct asm_disk_info *d = kmem_cache_alloc(asmdisk_cachep, GFP_KERNEL);
if (!d)
return NULL;
@@ -443,7 +443,7 @@
struct asmfs_sb_info *asb = ASMFS_SB(sb);
struct asmfs_inode_info *aii;
- aii = (struct asmfs_inode_info *)kmem_cache_alloc(asmfs_inode_cachep, SLAB_KERNEL);
+ aii = (struct asmfs_inode_info *)kmem_cache_alloc(asmfs_inode_cachep, GFP_KERNEL);
if (!aii)
return NULL;
More information about the Oracleasm-commits
mailing list