From: Al Viro Date: Mon, 7 Jul 2025 01:54:20 +0000 (-0400) Subject: ovl_lower_dir(): constify path argument X-Git-Tag: ceph-for-6.19-rc5~128^2~110^2~1^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=055e9d5efc6f02f58ae96af8ab5d72a5436e860c;p=ceph-client.git ovl_lower_dir(): constify path argument Reviewed-by: Christian Brauner Signed-off-by: Al Viro --- diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c index df85a76597e9..e3d0e86bb7c4 100644 --- a/fs/overlayfs/super.c +++ b/fs/overlayfs/super.c @@ -394,7 +394,7 @@ static int ovl_check_namelen(const struct path *path, struct ovl_fs *ofs, return err; } -static int ovl_lower_dir(const char *name, struct path *path, +static int ovl_lower_dir(const char *name, const struct path *path, struct ovl_fs *ofs, int *stack_depth) { int fh_type;