diff options
author | Paul Mackerras <paulus@samba.org> | 2005-09-28 23:13:36 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-09-28 23:13:36 -0400 |
commit | ab11d1ea281e85895369ef57c5259ad8a432fabb (patch) | |
tree | 684147479c6a8bb2fbed21bdcf12de1dd519c730 /ipc/mqueue.c | |
parent | 952ecef7a0479049c8abb7c34a688ec2981ceadd (diff) | |
parent | 664cceb0093b755739e56572b836a99104ee8a75 (diff) |
Merge by hand from Linus' tree.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'ipc/mqueue.c')
-rw-r--r-- | ipc/mqueue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 3a926011507b..a0f18c9cc89d 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c | |||
@@ -611,6 +611,7 @@ static struct file *do_create(struct dentry *dir, struct dentry *dentry, | |||
611 | dentry->d_fsdata = &attr; | 611 | dentry->d_fsdata = &attr; |
612 | } | 612 | } |
613 | 613 | ||
614 | mode &= ~current->fs->umask; | ||
614 | ret = vfs_create(dir->d_inode, dentry, mode, NULL); | 615 | ret = vfs_create(dir->d_inode, dentry, mode, NULL); |
615 | dentry->d_fsdata = NULL; | 616 | dentry->d_fsdata = NULL; |
616 | if (ret) | 617 | if (ret) |