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_get_verity_digest(): constify path argument

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 465309d6 c93cd353

+2 -2
+1 -1
fs/overlayfs/overlayfs.h
··· 567 567 int ovl_validate_verity(struct ovl_fs *ofs, 568 568 const struct path *metapath, 569 569 const struct path *datapath); 570 - int ovl_get_verity_digest(struct ovl_fs *ofs, struct path *src, 570 + int ovl_get_verity_digest(struct ovl_fs *ofs, const struct path *src, 571 571 struct ovl_metacopy *metacopy); 572 572 int ovl_sync_status(struct ovl_fs *ofs); 573 573
+1 -1
fs/overlayfs/util.c
··· 1455 1455 return 0; 1456 1456 } 1457 1457 1458 - int ovl_get_verity_digest(struct ovl_fs *ofs, struct path *src, 1458 + int ovl_get_verity_digest(struct ovl_fs *ofs, const struct path *src, 1459 1459 struct ovl_metacopy *metacopy) 1460 1460 { 1461 1461 int err, digest_size;