]> git.baikalelectronics.ru Git - kernel.git/commit
ksmbd: constify struct path
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 4 Aug 2022 16:51:14 +0000 (12:51 -0400)
committerSteve French <stfrench@microsoft.com>
Wed, 5 Oct 2022 06:15:37 +0000 (01:15 -0500)
commitc22180a5e2a9e1426fab01d9e54011ec531b1b52
tree0f5f1dd91fca58c1499a67d7184d8bd7c30b29e3
parent369c1634cc7ae8645a5cba4c7eb874755c2a6a07
ksmbd: constify struct path

... in particular, there should never be a non-const pointers to
any file->f_path.

Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/misc.c
fs/ksmbd/misc.h
fs/ksmbd/smb2pdu.c
fs/ksmbd/smbacl.c
fs/ksmbd/smbacl.h
fs/ksmbd/vfs.c
fs/ksmbd/vfs.h