diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-07-20 16:06:15 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-07-20 23:30:06 -0400 |
commit | 4f3ccd76572a83278166c12f3e351e74cc03578c (patch) | |
tree | ef59921d28b4d986ecc62b31803d10552ada027f /include/linux/security.h | |
parent | 92d21ac74a9e3c09b0b01c764e530657e4c85c49 (diff) |
qstr: constify dentry_init_security
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/security.h')
-rw-r--r-- | include/linux/security.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index 14df373ff2ca..7831cd57bcf7 100644 --- a/include/linux/security.h +++ b/include/linux/security.h | |||
@@ -240,7 +240,7 @@ int security_sb_clone_mnt_opts(const struct super_block *oldsb, | |||
240 | struct super_block *newsb); | 240 | struct super_block *newsb); |
241 | int security_sb_parse_opts_str(char *options, struct security_mnt_opts *opts); | 241 | int security_sb_parse_opts_str(char *options, struct security_mnt_opts *opts); |
242 | int security_dentry_init_security(struct dentry *dentry, int mode, | 242 | int security_dentry_init_security(struct dentry *dentry, int mode, |
243 | struct qstr *name, void **ctx, | 243 | const struct qstr *name, void **ctx, |
244 | u32 *ctxlen); | 244 | u32 *ctxlen); |
245 | 245 | ||
246 | int security_inode_alloc(struct inode *inode); | 246 | int security_inode_alloc(struct inode *inode); |
@@ -591,7 +591,7 @@ static inline void security_inode_free(struct inode *inode) | |||
591 | 591 | ||
592 | static inline int security_dentry_init_security(struct dentry *dentry, | 592 | static inline int security_dentry_init_security(struct dentry *dentry, |
593 | int mode, | 593 | int mode, |
594 | struct qstr *name, | 594 | const struct qstr *name, |
595 | void **ctx, | 595 | void **ctx, |
596 | u32 *ctxlen) | 596 | u32 *ctxlen) |
597 | { | 597 | { |