summaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-07-20 22:06:15 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2016-07-21 05:30:06 +0200
commit4f3ccd76572a83278166c12f3e351e74cc03578c (patch)
treeef59921d28b4d986ecc62b31803d10552ada027f /security/selinux
parentLinux 4.7-rc7 (diff)
downloadlinux-4f3ccd76572a83278166c12f3e351e74cc03578c.tar.xz
linux-4f3ccd76572a83278166c12f3e351e74cc03578c.zip
qstr: constify dentry_init_security
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index a86d537eb79b..22b6628041ef 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -2809,7 +2809,7 @@ static void selinux_inode_free_security(struct inode *inode)
}
static int selinux_dentry_init_security(struct dentry *dentry, int mode,
- struct qstr *name, void **ctx,
+ const struct qstr *name, void **ctx,
u32 *ctxlen)
{
u32 newsid;