diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-25 14:22:01 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-28 00:46:54 -0400 |
commit | 81f4c50607b423a59f8a1b03e1e8fc409a1dcd22 (patch) | |
tree | b1061fcf880915ead6fbf10e70af5d512cec3182 /security/tomoyo/tomoyo.c | |
parent | 2c7661ff419580f5c06ea409e31407e0ff52cb95 (diff) | |
download | linux-81f4c50607b423a59f8a1b03e1e8fc409a1dcd22.tar.bz2 |
constify security_path_truncate()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/tomoyo/tomoyo.c')
-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 cbf3df422c87..8573eee2b58e 100644 --- a/security/tomoyo/tomoyo.c +++ b/security/tomoyo/tomoyo.c @@ -150,7 +150,7 @@ static int tomoyo_inode_getattr(const struct path *path) * * Returns 0 on success, negative value otherwise. */ -static int tomoyo_path_truncate(struct path *path) +static int tomoyo_path_truncate(const struct path *path) { return tomoyo_path_perm(TOMOYO_TYPE_TRUNCATE, path, NULL); } |