[GIT PULL] CIFS/SMB3 Fixes

From: Steve French
Date: Mon Aug 03 2020 - 18:45:17 EST


Please pull the following changes since commit
bcf876870b95592b52519ed4aafcf9d95999bc9c:

Linux 5.8 (2020-08-02 14:21:45 -0700)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git tags/5.9-rc-smb3-fixes-part1

for you to fetch changes up to 7efd081582619e7c270d1c0a422385dcaa99fa9f:

cifs: document and cleanup dfs mount (2020-08-02 18:00:26 -0500)

----------------------------------------------------------------
16 cifs/smb3 fixes, about half DFS related, 2 fixes for stable

Still working on and testing an additional set of fixes (including
updates to mount, and some fallocate scenario improvements) for later
in the merge window.

Build verification test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/379
----------------------------------------------------------------
Colin Ian King (1):
cifs: fix double free error on share and prefix

Liao Pingfang (1):
cifs: Remove the superfluous break

Paul Aurich (1):
cifs: Fix leak when handling lease break for cached root fid

Paulo Alcantara (6):
cifs: reduce number of referral requests in DFS link lookups
cifs: rename reconn_inval_dfs_target()
cifs: handle empty list of targets in cifs_reconnect()
cifs: handle RESP_GET_DFS_REFERRAL.PathConsumed in reconnect
cifs: only update prefix path of DFS links in cifs_tree_connect()
cifs: document and cleanup dfs mount

Qinglang Miao (1):
cifs: convert to use be32_add_cpu()

Randy Dunlap (1):
cifs: delete duplicated words in header files

Roberto Bergantinos Corpas (1):
cifs`: handle ERRBaduid for SMB1

Ronnie Sahlberg (1):
cifs: smb1: Try failing back to SetFileInfo if SetPathInfo fails

Stefan Metzmacher (1):
cifs: merge __{cifs,smb2}_reconnect[_tcon]() into cifs_tree_connect()

Steve French (1):
smb3: warn on confusing error scenario with sec=krb5

Wei Yongjun (1):
cifs: remove unused variable 'server'

fs/cifs/cifsacl.h | 4 +-
fs/cifs/cifsglob.h | 2 +-
fs/cifs/cifsproto.h | 9 +-
fs/cifs/cifssmb.c | 151 ++++++++---------------------
fs/cifs/connect.c | 508
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------
fs/cifs/dfs_cache.c | 136 +++++++++++++++++++++-----
fs/cifs/dfs_cache.h | 7 +-
fs/cifs/inode.c | 2 -
fs/cifs/misc.c | 7 +-
fs/cifs/netmisc.c | 27 ++++++
fs/cifs/sess.c | 4 +-
fs/cifs/smb1ops.c | 4 +-
fs/cifs/smb2misc.c | 73 ++++++++++----
fs/cifs/smb2pdu.c | 115 +---------------------
fs/cifs/smb2pdu.h | 2 +-
fs/cifs/transport.c | 2 +-
16 files changed, 560 insertions(+), 493 deletions(-)


--
Thanks,

Steve