diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-25 14:52:53 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-28 00:47:24 -0400 |
commit | 8a04c43b8741ebb40508d160cf87ca74b70941af (patch) | |
tree | 4f1354430c4bf79bf001f95bdd02ec3f5d7c8410 /include/linux/security.h | |
parent | 7fd25dac9ad3970bede16f2834daf9f9d779d1b0 (diff) |
constify security_sb_mount()
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 f83ca920ed46..415a357efe4c 100644 --- a/include/linux/security.h +++ b/include/linux/security.h | |||
@@ -222,7 +222,7 @@ int security_sb_remount(struct super_block *sb, void *data); | |||
222 | int security_sb_kern_mount(struct super_block *sb, int flags, void *data); | 222 | int security_sb_kern_mount(struct super_block *sb, int flags, void *data); |
223 | int security_sb_show_options(struct seq_file *m, struct super_block *sb); | 223 | int security_sb_show_options(struct seq_file *m, struct super_block *sb); |
224 | int security_sb_statfs(struct dentry *dentry); | 224 | int security_sb_statfs(struct dentry *dentry); |
225 | int security_sb_mount(const char *dev_name, struct path *path, | 225 | int security_sb_mount(const char *dev_name, const struct path *path, |
226 | const char *type, unsigned long flags, void *data); | 226 | const char *type, unsigned long flags, void *data); |
227 | int security_sb_umount(struct vfsmount *mnt, int flags); | 227 | int security_sb_umount(struct vfsmount *mnt, int flags); |
228 | int security_sb_pivotroot(struct path *old_path, struct path *new_path); | 228 | int security_sb_pivotroot(struct path *old_path, struct path *new_path); |
@@ -530,7 +530,7 @@ static inline int security_sb_statfs(struct dentry *dentry) | |||
530 | return 0; | 530 | return 0; |
531 | } | 531 | } |
532 | 532 | ||
533 | static inline int security_sb_mount(const char *dev_name, struct path *path, | 533 | static inline int security_sb_mount(const char *dev_name, const struct path *path, |
534 | const char *type, unsigned long flags, | 534 | const char *type, unsigned long flags, |
535 | void *data) | 535 | void *data) |
536 | { | 536 | { |