summaryrefslogtreecommitdiffstats
path: root/include/linux/lsm_hooks.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-03-25 14:52:53 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-03-28 00:47:24 -0400
commit8a04c43b8741ebb40508d160cf87ca74b70941af (patch)
tree4f1354430c4bf79bf001f95bdd02ec3f5d7c8410 /include/linux/lsm_hooks.h
parent7fd25dac9ad3970bede16f2834daf9f9d779d1b0 (diff)
downloadlinux-8a04c43b8741ebb40508d160cf87ca74b70941af.tar.gz
linux-8a04c43b8741ebb40508d160cf87ca74b70941af.tar.bz2
linux-8a04c43b8741ebb40508d160cf87ca74b70941af.zip
constify security_sb_mount()
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 84f76cbc6d06..47117751f4eb 100644
--- a/include/linux/lsm_hooks.h
+++ b/include/linux/lsm_hooks.h
@@ -1343,7 +1343,7 @@ union security_list_options {
int (*sb_kern_mount)(struct super_block *sb, int flags, void *data);
int (*sb_show_options)(struct seq_file *m, struct super_block *sb);
int (*sb_statfs)(struct dentry *dentry);
- int (*sb_mount)(const char *dev_name, struct path *path,
+ int (*sb_mount)(const char *dev_name, const struct path *path,
const char *type, unsigned long flags, void *data);
int (*sb_umount)(struct vfsmount *mnt, int flags);
int (*sb_pivotroot)(struct path *old_path, struct path *new_path);