mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[PATCH] slab: remove SLAB_KERNEL
SLAB_KERNEL is an alias of GFP_KERNEL. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
54e6ecb239
commit
e94b176609
114 changed files with 164 additions and 165 deletions
|
@ -55,7 +55,7 @@ static kmem_cache_t *smb_inode_cachep;
|
|||
static struct inode *smb_alloc_inode(struct super_block *sb)
|
||||
{
|
||||
struct smb_inode_info *ei;
|
||||
ei = (struct smb_inode_info *)kmem_cache_alloc(smb_inode_cachep, SLAB_KERNEL);
|
||||
ei = (struct smb_inode_info *)kmem_cache_alloc(smb_inode_cachep, GFP_KERNEL);
|
||||
if (!ei)
|
||||
return NULL;
|
||||
return &ei->vfs_inode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue