summaryrefslogtreecommitdiff
path: root/security/capability.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-11 19:42:01 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-12 04:02:04 +0400
commit808d4e3cfdcc52b19276175464f6dbca4df13b09 (patch)
tree11c319127e8c1314c1ed1a777e4284032ab5bd00 /security/capability.c
parent4b2c551f77f5a0c496e2125b1d883f4b26aabf2c (diff)
downloadlinux-808d4e3cfdcc52b19276175464f6dbca4df13b09.tar.xz
consitify do_mount() arguments
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/capability.c')
-rw-r--r--security/capability.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/capability.c b/security/capability.c
index a40aac677c72..b14a30c234b8 100644
--- a/security/capability.c
+++ b/security/capability.c
@@ -74,8 +74,8 @@ static int cap_sb_statfs(struct dentry *dentry)
return 0;
}
-static int cap_sb_mount(char *dev_name, struct path *path, char *type,
- unsigned long flags, void *data)
+static int cap_sb_mount(const char *dev_name, struct path *path,
+ const char *type, unsigned long flags, void *data)
{
return 0;
}