diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-11 11:42:01 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-11 20:02:04 -0400 |
commit | 808d4e3cfdcc52b19276175464f6dbca4df13b09 (patch) | |
tree | 11c319127e8c1314c1ed1a777e4284032ab5bd00 /security/selinux/hooks.c | |
parent | 4b2c551f77f5a0c496e2125b1d883f4b26aabf2c (diff) |
consitify do_mount() arguments
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r-- | security/selinux/hooks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 651d8456611a..24ab4148547c 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -2452,9 +2452,9 @@ static int selinux_sb_statfs(struct dentry *dentry) | |||
2452 | return superblock_has_perm(cred, dentry->d_sb, FILESYSTEM__GETATTR, &ad); | 2452 | return superblock_has_perm(cred, dentry->d_sb, FILESYSTEM__GETATTR, &ad); |
2453 | } | 2453 | } |
2454 | 2454 | ||
2455 | static int selinux_mount(char *dev_name, | 2455 | static int selinux_mount(const char *dev_name, |
2456 | struct path *path, | 2456 | struct path *path, |
2457 | char *type, | 2457 | const char *type, |
2458 | unsigned long flags, | 2458 | unsigned long flags, |
2459 | void *data) | 2459 | void *data) |
2460 | { | 2460 | { |