aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/mqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/mqueue.c')
-rw-r--r--ipc/mqueue.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index fab5707cb5f7..a242c83d89d6 100644
--- a/ipc/mqueue.c
+++ b/ipc/mqueue.c
@@ -215,8 +215,7 @@ static void init_once(void *foo, struct kmem_cache * cachep, unsigned long flags
215{ 215{
216 struct mqueue_inode_info *p = (struct mqueue_inode_info *) foo; 216 struct mqueue_inode_info *p = (struct mqueue_inode_info *) foo;
217 217
218 if (flags & SLAB_CTOR_CONSTRUCTOR) 218 inode_init_once(&p->vfs_inode);
219 inode_init_once(&p->vfs_inode);
220} 219}
221 220
222static struct inode *mqueue_alloc_inode(struct super_block *sb) 221static struct inode *mqueue_alloc_inode(struct super_block *sb)