mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
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:
parent
c93cd35374
commit
465309d63f
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user