From 5f587dd9b77a110456ff05442be7852c2ac2475d Mon Sep 17 00:00:00 2001 From: Al Viro Date: Fri, 5 Sep 2025 00:58:00 -0400 Subject: [PATCH] ovl_is_real_file: constify realpath argument Reviewed-by: Christian Brauner Signed-off-by: Al Viro --- fs/overlayfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/overlayfs/file.c b/fs/overlayfs/file.c index f5b8877d5fe27..fc52c796061dc 100644 --- a/fs/overlayfs/file.c +++ b/fs/overlayfs/file.c @@ -120,7 +120,7 @@ static bool ovl_is_real_file(const struct file *realfile, } static struct file *ovl_real_file_path(const struct file *file, - struct path *realpath) + const struct path *realpath) { struct ovl_file *of = file->private_data; struct file *realfile = of->realfile; -- 2.47.3