From 2d3430875a3a9761fcbd10aed4396b464ed5078c Mon Sep 17 00:00:00 2001 From: Al Viro Date: Thu, 4 Aug 2022 13:11:15 -0400 Subject: overlayfs: constify path Reviewed-by: Christian Brauner (Microsoft) Signed-off-by: Al Viro --- fs/overlayfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/overlayfs/file.c') diff --git a/fs/overlayfs/file.c b/fs/overlayfs/file.c index daff601b5c41..a1a22f58ba18 100644 --- a/fs/overlayfs/file.c +++ b/fs/overlayfs/file.c @@ -38,7 +38,7 @@ static char ovl_whatisit(struct inode *inode, struct inode *realinode) #define OVL_OPEN_FLAGS (O_NOATIME | FMODE_NONOTIFY) static struct file *ovl_open_realfile(const struct file *file, - struct path *realpath) + const struct path *realpath) { struct inode *realinode = d_inode(realpath->dentry); struct inode *inode = file_inode(file); -- cgit v1.2.3