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 4e0be364aa36..57ed704d2ca7 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c | |||
@@ -295,7 +295,7 @@ static void mqueue_evict_inode(struct inode *inode) | |||
295 | } | 295 | } |
296 | 296 | ||
297 | static int mqueue_create(struct inode *dir, struct dentry *dentry, | 297 | static int mqueue_create(struct inode *dir, struct dentry *dentry, |
298 | int mode, struct nameidata *nd) | 298 | umode_t mode, struct nameidata *nd) |
299 | { | 299 | { |
300 | struct inode *inode; | 300 | struct inode *inode; |
301 | struct mq_attr *attr = dentry->d_fsdata; | 301 | struct mq_attr *attr = dentry->d_fsdata; |
@@ -610,7 +610,7 @@ static int mq_attr_ok(struct ipc_namespace *ipc_ns, struct mq_attr *attr) | |||
610 | * Invoked when creating a new queue via sys_mq_open | 610 | * Invoked when creating a new queue via sys_mq_open |
611 | */ | 611 | */ |
612 | static struct file *do_create(struct ipc_namespace *ipc_ns, struct dentry *dir, | 612 | static struct file *do_create(struct ipc_namespace *ipc_ns, struct dentry *dir, |
613 | struct dentry *dentry, int oflag, mode_t mode, | 613 | struct dentry *dentry, int oflag, umode_t mode, |
614 | struct mq_attr *attr) | 614 | struct mq_attr *attr) |
615 | { | 615 | { |
616 | const struct cred *cred = current_cred(); | 616 | const struct cred *cred = current_cred(); |