mbox series

[v2,0/7] cifs: minor code improvements

Message ID 20221029090011.79367-1-zhangxiaoxu5@huawei.com (mailing list archive)
Headers show
Series cifs: minor code improvements | expand

Message

Zhang Xiaoxu Oct. 29, 2022, 9 a.m. UTC
v1->v2: Fix compile error and uninitialized variable.

Zhang Xiaoxu (7):
  cifs: Use helper macro SMB2_CREATE_* instead of assignment one by one
  cifs: Use helper macro NTLMSSP_SIGNATURE in decode_ntlmssp_challenge()
  cifs: Remove the redundant null pointer check in SMB2_sess_setup()
  cifs: Remove the redundant null pointer check in SMB2_negotiate()
  cifs: remove the unused xid parameter from smb_mnt_get_fsinfo
  cifs: Fix wrong return value checking when GETFLAGS
  cifs: Reset rc before free_xid()

 fs/cifs/dir.c      |  2 +
 fs/cifs/file.c     | 36 +++++++++--------
 fs/cifs/ioctl.c    |  9 ++---
 fs/cifs/sess.c     |  7 +---
 fs/cifs/smb2file.c |  9 +++--
 fs/cifs/smb2ops.c  | 12 +-----
 fs/cifs/smb2pdu.c  | 99 +++++++---------------------------------------
 7 files changed, 48 insertions(+), 126 deletions(-)