]> 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)
commite113707fdef9b038fd1b43b30770f2d711525d55
tree0f5f1dd91fca58c1499a67d7184d8bd7c30b29e3
parent9ec1bfd7bdf06fc12223f56f3f9cc4e22ba25f97
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