1. 05 Aug, 2022 2 commits
    • Enzo Matsumiya's avatar
      cifs: remove useless DeleteMidQEntry() · 70f08f91
      Enzo Matsumiya authored
      DeleteMidQEntry() was just a proxy for cifs_mid_q_entry_release().
      
      - remove DeleteMidQEntry()
      - rename cifs_mid_q_entry_release() to release_mid()
      - rename kref_put() callback _cifs_mid_q_entry_release to __release_mid
      - rename AllocMidQEntry() to alloc_mid()
      - rename cifs_delete_mid() to delete_mid()
      
      Update callers to use new names.
      Signed-off-by: default avatarEnzo Matsumiya <ematsumiya@suse.de>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      70f08f91
    • Steve French's avatar
      cifs: when insecure legacy is disabled shrink amount of SMB1 code · fb157ed2
      Steve French authored
      Currently much of the smb1 code is built even when
      CONFIG_CIFS_ALLOW_INSECURE_LEGACY is disabled.
      
      Move cifssmb.c to only be compiled when insecure legacy is disabled,
      and move various SMB1/CIFS helper functions to that ifdef.  Some
      functions that were not SMB1/CIFS specific needed to be moved out of
      cifssmb.c
      
      This shrinks cifs.ko by more than 10% which is good - but also will
      help with the eventual movement of the legacy code to a distinct
      module.  Follow on patches can shrink the number of ifdefs by
      code restructuring where smb1 code is wedged in functions that
      should be calling dialect specific helper functions instead,
      and also by moving some functions from file.c/dir.c/inode.c into
      smb1 specific c files.
      Reviewed-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
      Reviewed-by: default avatarPaulo Alcantara (SUSE) <pc@cjr.nz>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      fb157ed2
  2. 01 Aug, 2022 14 commits
  3. 31 Jul, 2022 6 commits
  4. 30 Jul, 2022 2 commits
  5. 29 Jul, 2022 16 commits