Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> --- fs/smb/server/vfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/smb/server/vfs.c b/fs/smb/server/vfs.c index 04539037108c..9f45c6ced854 100644 --- a/fs/smb/server/vfs.c +++ b/fs/smb/server/vfs.c @@ -72,7 +72,7 @@ static int ksmbd_vfs_path_lookup(struct ksmbd_share_config *share_conf, { struct qstr last; struct filename *filename __free(putname) = NULL; - struct path *root_share_path = &share_conf->vfs_path; + const struct path *root_share_path = &share_conf->vfs_path; int err, type; struct dentry *d; -- 2.47.2