Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

Al Viro 94cb22d1 72c1118d

+1 -1
+1 -1
fs/smb/server/vfs.c
··· 72 72 { 73 73 struct qstr last; 74 74 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; 76 76 int err, type; 77 77 struct dentry *d; 78 78