ovl_get_verity_digest(): constify path argument

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2025-09-15 21:17:09 -04:00
parent c93cd35374
commit 465309d63f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -567,7 +567,7 @@ int ovl_ensure_verity_loaded(const struct path *path);
int ovl_validate_verity(struct ovl_fs *ofs,
const struct path *metapath,
const struct path *datapath);
int ovl_get_verity_digest(struct ovl_fs *ofs, struct path *src,
int ovl_get_verity_digest(struct ovl_fs *ofs, const struct path *src,
struct ovl_metacopy *metacopy);
int ovl_sync_status(struct ovl_fs *ofs);
+1 -1
View File
@@ -1455,7 +1455,7 @@ int ovl_validate_verity(struct ovl_fs *ofs,
return 0;
}
int ovl_get_verity_digest(struct ovl_fs *ofs, struct path *src,
int ovl_get_verity_digest(struct ovl_fs *ofs, const struct path *src,
struct ovl_metacopy *metacopy)
{
int err, digest_size;