git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scsi disk help file is not complete
[sfrench/cifs-2.6.git]
/
net
/
socket.c
diff --git
a/net/socket.c
b/net/socket.c
index 98a8f67abbfcfe84f2cb026737c710c39647d8cc..f4530196a70a30c10f87450ad47bdfaa9e28f925 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_CONSTRUCTOR)
- inode_init_once(&ei->vfs_inode);
+ inode_init_once(&ei->vfs_inode);
}
static int init_inodecache(void)