summaryrefslogtreecommitdiff
path: root/security/selinux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-03-25 21:52:53 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2016-03-28 07:47:24 +0300
commit8a04c43b8741ebb40508d160cf87ca74b70941af (patch)
tree4f1354430c4bf79bf001f95bdd02ec3f5d7c8410 /security/selinux
parent7fd25dac9ad3970bede16f2834daf9f9d779d1b0 (diff)
downloadlinux-8a04c43b8741ebb40508d160cf87ca74b70941af.tar.xz
constify security_sb_mount()
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 912deee3f01e..e3aeacc13545 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -2760,7 +2760,7 @@ static int selinux_sb_statfs(struct dentry *dentry)
}
static int selinux_mount(const char *dev_name,
- struct path *path,
+ const struct path *path,
const char *type,
unsigned long flags,
void *data)