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 /security/tomoyo | |
parent | 7fd25dac9ad3970bede16f2834daf9f9d779d1b0 (diff) | |
download | linux-8a04c43b8741ebb40508d160cf87ca74b70941af.tar.gz linux-8a04c43b8741ebb40508d160cf87ca74b70941af.tar.bz2 linux-8a04c43b8741ebb40508d160cf87ca74b70941af.zip |
constify security_sb_mount()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/tomoyo')
-rw-r--r-- | security/tomoyo/tomoyo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/tomoyo.c b/security/tomoyo/tomoyo.c index f0989ec978e1..c1177f885247 100644 --- a/security/tomoyo/tomoyo.c +++ b/security/tomoyo/tomoyo.c @@ -401,7 +401,7 @@ static int tomoyo_path_chroot(struct path *path) * * Returns 0 on success, negative value otherwise. */ -static int tomoyo_sb_mount(const char *dev_name, struct path *path, +static int tomoyo_sb_mount(const char *dev_name, const struct path *path, const char *type, unsigned long flags, void *data) { return tomoyo_mount_permission(dev_name, path, type, flags, data); |