summaryrefslogtreecommitdiff
path: root/include/linux/lsm_hooks.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-07-20 23:06:15 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2016-07-21 06:30:06 +0300
commit4f3ccd76572a83278166c12f3e351e74cc03578c (patch)
treeef59921d28b4d986ecc62b31803d10552ada027f /include/linux/lsm_hooks.h
parent92d21ac74a9e3c09b0b01c764e530657e4c85c49 (diff)
downloadlinux-4f3ccd76572a83278166c12f3e351e74cc03578c.tar.xz
qstr: constify dentry_init_security
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/lsm_hooks.h')
-rw-r--r--include/linux/lsm_hooks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h
index 7ae397669d8b..101bf19c0f41 100644
--- a/include/linux/lsm_hooks.h
+++ b/include/linux/lsm_hooks.h
@@ -1356,7 +1356,7 @@ union security_list_options {
struct super_block *newsb);
int (*sb_parse_opts_str)(char *options, struct security_mnt_opts *opts);
int (*dentry_init_security)(struct dentry *dentry, int mode,
- struct qstr *name, void **ctx,
+ const struct qstr *name, void **ctx,
u32 *ctxlen);