ksmbd_vfs_path_lookup_locked(): root_share_path can be const struct path *

Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2025-07-06 21:36:36 -04:00
parent 72c1118d32
commit 94cb22d109

View File

@ -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;