mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +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
|
@ -233,7 +233,7 @@ static kmem_cache_t * bfs_inode_cachep;
|
|||
static struct inode *bfs_alloc_inode(struct super_block *sb)
|
||||
{
|
||||
struct bfs_inode_info *bi;
|
||||
bi = kmem_cache_alloc(bfs_inode_cachep, SLAB_KERNEL);
|
||||
bi = kmem_cache_alloc(bfs_inode_cachep, GFP_KERNEL);
|
||||
if (!bi)
|
||||
return NULL;
|
||||
return &bi->vfs_inode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue