Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

Al Viro c93cd353 7e978e8f

+4 -4
+2 -2
fs/overlayfs/overlayfs.h
··· 565 565 char *ovl_get_redirect_xattr(struct ovl_fs *ofs, const struct path *path, int padding); 566 566 int ovl_ensure_verity_loaded(const struct path *path); 567 567 int ovl_validate_verity(struct ovl_fs *ofs, 568 - struct path *metapath, 569 - struct path *datapath); 568 + const struct path *metapath, 569 + const struct path *datapath); 570 570 int ovl_get_verity_digest(struct ovl_fs *ofs, struct path *src, 571 571 struct ovl_metacopy *metacopy); 572 572 int ovl_sync_status(struct ovl_fs *ofs);
+2 -2
fs/overlayfs/util.c
··· 1401 1401 } 1402 1402 1403 1403 int ovl_validate_verity(struct ovl_fs *ofs, 1404 - struct path *metapath, 1405 - struct path *datapath) 1404 + const struct path *metapath, 1405 + const struct path *datapath) 1406 1406 { 1407 1407 struct ovl_metacopy metacopy_data; 1408 1408 u8 actual_digest[FS_VERITY_MAX_DIGEST_SIZE];