git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
slab allocators: Remove SLAB_DEBUG_INITIAL flag
[safe/jmp/linux-2.6]
/
net
/
socket.c
diff --git
a/net/socket.c
b/net/socket.c
index
1ad62c0
..
759825b
100644
(file)
--- a/
net/socket.c
+++ b/
net/socket.c
@@
-261,8
+261,7
@@
static void init_once(void *foo, struct kmem_cache *cachep, unsigned long flags)
{
struct socket_alloc *ei = (struct socket_alloc *)foo;
- if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR))
- == SLAB_CTOR_CONSTRUCTOR)
+ if (flags & SLAB_CTOR_CONSTRUCTOR)
inode_init_once(&ei->vfs_inode);
}