Skip to content

Commit 94cb22d

Browse files
author
Al Viro
committed
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>
1 parent 72c1118 commit 94cb22d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/smb/server/vfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static int ksmbd_vfs_path_lookup(struct ksmbd_share_config *share_conf,
7272
{
7373
struct qstr last;
7474
struct filename *filename __free(putname) = NULL;
75-
struct path *root_share_path = &share_conf->vfs_path;
75+
const struct path *root_share_path = &share_conf->vfs_path;
7676
int err, type;
7777
struct dentry *d;
7878

0 commit comments

Comments
 (0)