projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] slab: remove SLAB_KERNEL
[linux-2.6-block.git]
/
net
/
socket.c
diff --git
a/net/socket.c
b/net/socket.c
index e8db54702a6913c98f5354bcf11c75b5d1dbb466..4f417c2ddc15c6d6f2a3dce8030a31762417dfe6 100644
(file)
--- a/
net/socket.c
+++ b/
net/socket.c
@@
-236,7
+236,7
@@
static struct inode *sock_alloc_inode(struct super_block *sb)
{
struct socket_alloc *ei;
{
struct socket_alloc *ei;
- ei = kmem_cache_alloc(sock_inode_cachep,
SLAB
_KERNEL);
+ ei = kmem_cache_alloc(sock_inode_cachep,
GFP
_KERNEL);
if (!ei)
return NULL;
init_waitqueue_head(&ei->socket.wait);
if (!ei)
return NULL;
init_waitqueue_head(&ei->socket.wait);