constify security_path_truncate()
[deliverable/linux.git] / security / tomoyo / tomoyo.c
index cbf3df422c8724576a503b7eb4e341a934ed83d0..8573eee2b58eb1ac0ed534d202637ed4b5d0d066 100644 (file)
@@ -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);
 }
This page took 0.024461 seconds and 5 git commands to generate.