commit | 312b63fba9e88a0dcf800834b8ede8716bcc1e17 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jun 10 18:09:36 2012 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 14 16:34:50 2012 +0400 |
tree | a069e3b9ff142912fd09f09a22466707d31c6812 | |
parent | ebfc3b49a7ac25920cb5be5445f602e51d2ea559 [diff] [blame] |
don't pass nameidata * to vfs_create() all we want is a boolean flag, same as the method gets now Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index da2c188..2dee38d5 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c
@@ -751,7 +751,7 @@ 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;