diff --git a/[refs] b/[refs] index cf795ce3979e..e424efb777b6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5c1f4cac6ff75a4a602bae960a054ed3df7e9765 +refs/heads/master: 59175839783287d3b03f18460bb3539c69300837 diff --git a/trunk/ipc/mqueue.c b/trunk/ipc/mqueue.c index 3a926011507b..a0f18c9cc89d 100644 --- a/trunk/ipc/mqueue.c +++ b/trunk/ipc/mqueue.c @@ -611,6 +611,7 @@ static struct file *do_create(struct dentry *dir, struct dentry *dentry, dentry->d_fsdata = &attr; } + mode &= ~current->fs->umask; ret = vfs_create(dir->d_inode, dentry, mode, NULL); dentry->d_fsdata = NULL; if (ret)