summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-24 20:18:20 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 04:55:11 +0100
commit1b9d5ff7644ddf2723c9205f4726c95ec01bf033 (patch)
treebf08448873111512f0a7fb8f7e880b26e4a23242 /ipc
parentswitch is_sxid() to umode_t (diff)
downloadlinux-1b9d5ff7644ddf2723c9205f4726c95ec01bf033.tar.xz
linux-1b9d5ff7644ddf2723c9205f4726c95ec01bf033.zip
mqueue: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc')
-rw-r--r--ipc/mqueue.c2
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)
}
static struct inode *mqueue_get_inode(struct super_block *sb,
- struct ipc_namespace *ipc_ns, int mode,
+ struct ipc_namespace *ipc_ns, umode_t mode,
struct mq_attr *attr)
{
struct user_struct *u = current_user();