mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 15:41:52 +02:00
ovl_validate_verity(): constify {meta,data}path arguments
Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
7e978e8fb6
commit
c93cd35374
|
|
@ -565,8 +565,8 @@ bool ovl_is_metacopy_dentry(struct dentry *dentry);
|
|||
char *ovl_get_redirect_xattr(struct ovl_fs *ofs, const struct path *path, int padding);
|
||||
int ovl_ensure_verity_loaded(const struct path *path);
|
||||
int ovl_validate_verity(struct ovl_fs *ofs,
|
||||
struct path *metapath,
|
||||
struct path *datapath);
|
||||
const struct path *metapath,
|
||||
const struct path *datapath);
|
||||
int ovl_get_verity_digest(struct ovl_fs *ofs, struct path *src,
|
||||
struct ovl_metacopy *metacopy);
|
||||
int ovl_sync_status(struct ovl_fs *ofs);
|
||||
|
|
|
|||
|
|
@ -1401,8 +1401,8 @@ int ovl_ensure_verity_loaded(const struct path *datapath)
|
|||
}
|
||||
|
||||
int ovl_validate_verity(struct ovl_fs *ofs,
|
||||
struct path *metapath,
|
||||
struct path *datapath)
|
||||
const struct path *metapath,
|
||||
const struct path *datapath)
|
||||
{
|
||||
struct ovl_metacopy metacopy_data;
|
||||
u8 actual_digest[FS_VERITY_MAX_DIGEST_SIZE];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user