]> git.baikalelectronics.ru Git - kernel.git/commit
ksmbd: remove smb2_buf_length in smb2_hdr
authorNamjae Jeon <linkinjeon@kernel.org>
Tue, 2 Nov 2021 23:08:44 +0000 (08:08 +0900)
committerSteve French <stfrench@microsoft.com>
Fri, 12 Nov 2021 01:22:58 +0000 (19:22 -0600)
commita6589ffa5d7ab5a874bd51655bd1cbdc02fda9a6
treeae6b4de2868277fe8b40186861d9e1bbc467c6f4
parent8f3c60a435f9d640a42e31b0a2870db1ca4e421e
ksmbd: remove smb2_buf_length in smb2_hdr

To move smb2_hdr to smbfs_common, This patch remove smb2_buf_length
variable in smb2_hdr. Also, declare smb2_get_msg function to get smb2
request/response from ->request/response_buf.

Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/auth.c
fs/ksmbd/connection.c
fs/ksmbd/ksmbd_work.h
fs/ksmbd/oplock.c
fs/ksmbd/smb2misc.c
fs/ksmbd/smb2pdu.c
fs/ksmbd/smb2pdu.h
fs/ksmbd/smb_common.c
fs/ksmbd/smb_common.h
fs/ksmbd/transport_rdma.c