constify security_path_truncate()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2016-03-25 14:22:01 -04:00
bovenliggende 2c7661ff41
commit 81f4c50607
5 gewijzigde bestanden met toevoegingen van 6 en 6 verwijderingen

Bestand weergeven

@@ -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);
}