diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-24 14:18:20 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:11 -0500 |
commit | 1b9d5ff7644ddf2723c9205f4726c95ec01bf033 (patch) | |
tree | bf08448873111512f0a7fb8f7e880b26e4a23242 /ipc/mqueue.c | |
parent | 8d334acdd2c1f57c7a574c6f24d08e4c95582ff0 (diff) |
mqueue: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc/mqueue.c')
-rw-r--r-- | ipc/mqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 57ed704d2ca7..5eaecf4fc04e 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c | |||
@@ -108,7 +108,7 @@ static struct ipc_namespace *get_ns_from_inode(struct inode *inode) | |||
108 | } | 108 | } |
109 | 109 | ||
110 | static struct inode *mqueue_get_inode(struct super_block *sb, | 110 | static struct inode *mqueue_get_inode(struct super_block *sb, |
111 | struct ipc_namespace *ipc_ns, int mode, | 111 | struct ipc_namespace *ipc_ns, umode_t mode, |
112 | struct mq_attr *attr) | 112 | struct mq_attr *attr) |
113 | { | 113 | { |
114 | struct user_struct *u = current_user(); | 114 | struct user_struct *u = current_user(); |