summaryrefslogtreecommitdiffstats
path: root/security/tomoyo/mount.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-03-25 14:41:28 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-03-28 00:47:23 -0400
commite6641eddf0e7f0227493e91a1d91546f6bd73525 (patch)
tree14d83c8cfd2962485ecc374fcaad94fab172567c /security/tomoyo/mount.c
parent928e1ebfb576f6c0480ac852becfc142b248242c (diff)
tomoyo: constify assorted struct path *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/tomoyo/mount.c')
-rw-r--r--security/tomoyo/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/tomoyo/mount.c b/security/tomoyo/mount.c
index 390c646013cb..14b53fb2a0cf 100644
--- a/security/tomoyo/mount.c
+++ b/security/tomoyo/mount.c
@@ -73,7 +73,7 @@ static bool tomoyo_check_mount_acl(struct tomoyo_request_info *r,
73 */ 73 */
74static int tomoyo_mount_acl(struct tomoyo_request_info *r, 74static int tomoyo_mount_acl(struct tomoyo_request_info *r,
75 const char *dev_name, 75 const char *dev_name,
76 struct path *dir, const char *type, 76 const struct path *dir, const char *type,
77 unsigned long flags) 77 unsigned long flags)
78{ 78{
79 struct tomoyo_obj_info obj = { }; 79 struct tomoyo_obj_info obj = { };
@@ -184,7 +184,7 @@ static int tomoyo_mount_acl(struct tomoyo_request_info *r,
184 * 184 *
185 * Returns 0 on success, negative value otherwise. 185 * Returns 0 on success, negative value otherwise.
186 */ 186 */
187int tomoyo_mount_permission(const char *dev_name, struct path *path, 187int tomoyo_mount_permission(const char *dev_name, const struct path *path,
188 const char *type, unsigned long flags, 188 const char *type, unsigned long flags,
189 void *data_page) 189 void *data_page)
190{ 190{