From: Al Viro Date: Fri, 5 Sep 2025 04:58:00 +0000 (-0400) Subject: ovl_is_real_file: constify realpath argument X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f587dd9b77a110456ff05442be7852c2ac2475d;p=thirdparty%2Fkernel%2Fstable.git ovl_is_real_file: constify realpath argument Reviewed-by: Christian Brauner Signed-off-by: Al Viro --- 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;