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_ensure_verity_loaded(): constify datapath argument

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

Al Viro 7e978e8f 3d866c3b

+2 -2
+1 -1
fs/overlayfs/overlayfs.h
··· 563 563 struct ovl_metacopy *metacopy); 564 564 bool ovl_is_metacopy_dentry(struct dentry *dentry); 565 565 char *ovl_get_redirect_xattr(struct ovl_fs *ofs, const struct path *path, int padding); 566 - int ovl_ensure_verity_loaded(struct path *path); 566 + int ovl_ensure_verity_loaded(const struct path *path); 567 567 int ovl_validate_verity(struct ovl_fs *ofs, 568 568 struct path *metapath, 569 569 struct path *datapath);
+1 -1
fs/overlayfs/util.c
··· 1381 1381 } 1382 1382 1383 1383 /* Call with mounter creds as it may open the file */ 1384 - int ovl_ensure_verity_loaded(struct path *datapath) 1384 + int ovl_ensure_verity_loaded(const struct path *datapath) 1385 1385 { 1386 1386 struct inode *inode = d_inode(datapath->dentry); 1387 1387 struct file *filp;