diff options
Diffstat (limited to 'ipc/mqueue.c')
-rw-r--r-- | ipc/mqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 8ce57691e7b6..2dee38d53c73 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c | |||
@@ -413,7 +413,7 @@ static void mqueue_evict_inode(struct inode *inode) | |||
413 | } | 413 | } |
414 | 414 | ||
415 | static int mqueue_create(struct inode *dir, struct dentry *dentry, | 415 | static int mqueue_create(struct inode *dir, struct dentry *dentry, |
416 | umode_t mode, struct nameidata *nd) | 416 | umode_t mode, bool excl) |
417 | { | 417 | { |
418 | struct inode *inode; | 418 | struct inode *inode; |
419 | struct mq_attr *attr = dentry->d_fsdata; | 419 | struct mq_attr *attr = dentry->d_fsdata; |
@@ -751,7 +751,7 @@ static struct file *do_create(struct ipc_namespace *ipc_ns, struct dentry *dir, | |||
751 | ret = mnt_want_write(ipc_ns->mq_mnt); | 751 | ret = mnt_want_write(ipc_ns->mq_mnt); |
752 | if (ret) | 752 | if (ret) |
753 | goto out; | 753 | goto out; |
754 | ret = vfs_create(dir->d_inode, dentry, mode, NULL); | 754 | ret = vfs_create(dir->d_inode, dentry, mode, true); |
755 | dentry->d_fsdata = NULL; | 755 | dentry->d_fsdata = NULL; |
756 | if (ret) | 756 | if (ret) |
757 | goto out_drop_write; | 757 | goto out_drop_write; |