Linux CIFS filesystem development
 help / color / mirror / Atom feed
* [PATCH -next 0/3] cifs: Use some helper function for preamble size
@ 2022-08-23 12:51 Zhang Xiaoxu
  2022-08-23 12:52 ` [PATCH -next 1/3] cifs: Use help macro to get the header " Zhang Xiaoxu
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Zhang Xiaoxu @ 2022-08-23 12:51 UTC (permalink / raw)
  To: linux-cifs, zhangxiaoxu5, sfrench, pc, lsahlber, sprasad, rohiths,
	smfrench

*** BLURB HERE ***
The unfolded expression of header_preamble_size is too long, in addition, 
some expressions have specific semantics, e.g.:
  calculate the position of the mid,
  confirm it's smb2+ server or not.

Zhang Xiaoxu (3):
  cifs: Use help macro to get the header preamble size
  cifs: Use help macro to get the mid header size
  cifs: Add helper function to check smb2+ server

 fs/cifs/cifsencrypt.c |  3 +--
 fs/cifs/cifsglob.h    |  7 +++++++
 fs/cifs/connect.c     | 28 +++++++++++-----------------
 fs/cifs/transport.c   | 21 ++++++++++-----------
 4 files changed, 29 insertions(+), 30 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-24  5:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-23 12:51 [PATCH -next 0/3] cifs: Use some helper function for preamble size Zhang Xiaoxu
2022-08-23 12:52 ` [PATCH -next 1/3] cifs: Use help macro to get the header " Zhang Xiaoxu
2022-08-23 12:52 ` [PATCH -next 2/3] cifs: Use help macro to get the mid header size Zhang Xiaoxu
2022-08-23 12:52 ` [PATCH -next 3/3] cifs: Add helper function to check smb1+ server Zhang Xiaoxu
2022-08-23 17:23 ` [PATCH -next 0/3] cifs: Use some helper function for preamble size Paulo Alcantara
2022-08-24  5:57   ` Steve French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox