mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
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:
parent
72c1118d32
commit
94cb22d109
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user