Linux CIFS filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/8] smb: fix some bugs, move duplicate definitions to common header file, and some small cleanups
@ 2024-08-20 14:33 chenxiaosong
  2024-08-20 14:33 ` [PATCH 1/8] smb/server: fix return value of smb2_open() chenxiaosong
                   ` (7 more replies)
  0 siblings, 8 replies; 24+ messages in thread
From: chenxiaosong @ 2024-08-20 14:33 UTC (permalink / raw)
  To: linkinjeon, sfrench, senozhatsky, tom, linux-cifs, linux-kernel,
	pc, ronniesahlberg, sprasad, bharathsm
  Cc: chenxiaosong, liuzhengyuan, huhai, liuyun01

From: ChenXiaoSong <chenxiaosong@kylinos.cn>

Fix some bugs in smb2_open() of smb server.

In order to maintain the code more easily, move some duplicate
definitions to common header file.

By the way, add some small cleanups to the patchset.

ChenXiaoSong (8):
  smb/server: fix return value of smb2_open()
  smb/server: fix potential null-ptr-deref of lease_ctx_info in
    smb2_open()
  smb/server: remove useless variable assignment in smb2_open()
  smb/client: fix typo: GlobalMid_Sem -> GlobalMid_Lock
  smb/server: update misguided comment of smb2_allocate_rsp_buf()
  smb: move some duplicate definitions to common/smbacl.h
  smb/client: fix typo: STATUS_MCA_OCCURED -> STATUS_MCA_OCCURRED
  smb: move SMB2 Status code to common header file

 fs/smb/client/cifsacl.h                |   58 +-
 fs/smb/client/cifsfs.c                 |    6 +-
 fs/smb/client/cifsglob.h               |    6 +-
 fs/smb/client/smb2file.c               |    2 +-
 fs/smb/client/smb2inode.c              |    2 +-
 fs/smb/client/smb2maperror.c           |    4 +-
 fs/smb/client/smb2misc.c               |    2 +-
 fs/smb/client/smb2ops.c                |    2 +-
 fs/smb/client/smb2pdu.c                |    2 +-
 fs/smb/client/smb2transport.c          |    2 +-
 fs/smb/{client => common}/smb2status.h |    4 +-
 fs/smb/common/smbacl.h                 |   88 ++
 fs/smb/server/oplock.c                 |   13 +-
 fs/smb/server/server.c                 |    2 +-
 fs/smb/server/smb2misc.c               |    2 +-
 fs/smb/server/smb2pdu.c                |   24 +-
 fs/smb/server/smb_common.c             |    2 +-
 fs/smb/server/smbacl.h                 |   80 +-
 fs/smb/server/smbstatus.h              | 1822 ------------------------
 fs/smb/server/transport_rdma.c         |    2 +-
 20 files changed, 135 insertions(+), 1990 deletions(-)
 rename fs/smb/{client => common}/smb2status.h (99%)
 create mode 100644 fs/smb/common/smbacl.h
 delete mode 100644 fs/smb/server/smbstatus.h

-- 
2.34.1


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

end of thread, other threads:[~2024-08-22  1:01 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-20 14:33 [PATCH 0/8] smb: fix some bugs, move duplicate definitions to common header file, and some small cleanups chenxiaosong
2024-08-20 14:33 ` [PATCH 1/8] smb/server: fix return value of smb2_open() chenxiaosong
2024-08-22  0:49   ` Namjae Jeon
2024-08-20 14:33 ` [PATCH 2/8] smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open() chenxiaosong
2024-08-22  0:41   ` Namjae Jeon
2024-08-22  0:59     ` ChenXiaoSong
2024-08-20 14:33 ` [PATCH 3/8] smb/server: remove useless variable assignment " chenxiaosong
2024-08-22  0:47   ` Namjae Jeon
2024-08-20 14:33 ` [PATCH 4/8] smb/client: fix typo: GlobalMid_Sem -> GlobalMid_Lock chenxiaosong
2024-08-22  0:21   ` Namjae Jeon
2024-08-20 14:33 ` [PATCH 5/8] smb/server: update misguided comment of smb2_allocate_rsp_buf() chenxiaosong
2024-08-22  0:48   ` Namjae Jeon
2024-08-20 14:33 ` [PATCH 6/8] smb: move some duplicate definitions to common/smbacl.h chenxiaosong
2024-08-21 19:51   ` Steve French
2024-08-21 23:48   ` Namjae Jeon
2024-08-22  0:16     ` chenxiaosong
2024-08-20 14:33 ` [PATCH 7/8] smb/client: fix typo: STATUS_MCA_OCCURED -> STATUS_MCA_OCCURRED chenxiaosong
2024-08-21 17:53   ` Steve French
2024-08-21 23:57   ` Namjae Jeon
2024-08-22  0:10     ` chenxiaosong
2024-08-22  0:11     ` Steve French
2024-08-20 14:33 ` [PATCH 8/8] smb: move SMB2 Status code to common header file chenxiaosong
2024-08-21 19:51   ` Steve French
2024-08-21 23:40   ` Namjae Jeon

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