don't pass nameidata * to vfs_create()
[deliverable/linux.git] / ipc / mqueue.c
index 8ce57691e7b60994d9cc97620b7550c603df5391..2dee38d53c73444496746451c418e7d2c46d72d9 100644 (file)
@@ -413,7 +413,7 @@ static void mqueue_evict_inode(struct inode *inode)
 }
 
 static int mqueue_create(struct inode *dir, struct dentry *dentry,
-                               umode_t mode, struct nameidata *nd)
+                               umode_t mode, bool excl)
 {
        struct inode *inode;
        struct mq_attr *attr = dentry->d_fsdata;
@@ -751,7 +751,7 @@ static struct file *do_create(struct ipc_namespace *ipc_ns, struct dentry *dir,
        ret = mnt_want_write(ipc_ns->mq_mnt);
        if (ret)
                goto out;
-       ret = vfs_create(dir->d_inode, dentry, mode, NULL);
+       ret = vfs_create(dir->d_inode, dentry, mode, true);
        dentry->d_fsdata = NULL;
        if (ret)
                goto out_drop_write;
This page took 0.028785 seconds and 5 git commands to generate.