[PATCH 0/2] smb/server: improve async interim response handling for compound requests

ChenXiaoSong <[email protected]>
Newsgroups org.kernel.vger.linux-cifs
Message-ID <[email protected]>
From: ChenXiaoSong <[email protected]>

I am currently implementing the ksmbd change notify feature (I will send it out soon),
and I have encountered the following issue.

Before this patchset, no CREATE response:

  Windows client request:
    CREATE dir
    CHANGE_NOTIFY, fid = compound fid

  Server response:
    CHANGE_NOTIFY STATUS_PENDING, AsyncId = N

After this patchset:

  Server response:
    CREATE dir SUCCESS, fid = X
    CHANGE_NOTIFY STATUS_PENDING, AsyncId = N

ChenXiaoSong (2):
  smb/server: factor out smb2_init_err_rsp()
  smb/server: preserve compound prefix for async interim responses

 fs/smb/server/smb2pdu.c | 59 +++++++++++++++++++++++++++++++++--------
 1 file changed, 48 insertions(+), 11 deletions(-)

-- 
2.54.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.