[GIT PULL] CIFS/SMB3 Fixes

From: Steve French
Date: Fri Feb 26 2021 - 01:25:27 EST


Please pull the following changes since commit
f40ddce88593482919761f74910f42f4b84c004b:

Linux 5.11 (2021-02-14 14:32:24 -0800)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git tags/5.12-smb3-part1

for you to fetch changes up to 8369dfd7841e70711c53a065ffb8029f24520200:

cifs: update internal version number (2021-02-25 19:08:11 -0600)

----------------------------------------------------------------
cifs/smb3 fixes:
- improvements to mode bit conversion, chmod and chown when using
cifsacl mount option
- two new mount options for controlling attribute caching
- improvements to crediting and reconnect, improved debugging
- reconnect fix
- add SMB3.1.1 dialect to default dialects for vers=3

Still working on a security fix and some multichannel fixes which are
not included in this pull request

Test results: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/513
----------------------------------------------------------------
David Howells (1):
cifs: use discard iterator to discard unneeded network data more
efficiently

Paulo Alcantara (4):
cifs: fix nodfs mount option
cifs: fix DFS failover
cifs: check all path components in resolved dfs target
cifs: introduce helper for finding referral server to improve
DFS target resolution

Rohith Surabattula (1):
TCON Reconnect during STATUS_NETWORK_NAME_DELETED

Ronnie Sahlberg (1):
cifs: fix handling of escaped ',' in the password mount argument

Shyam Prasad N (8):
cifs: New optype for session operations.
cifs: Fix in error types returned for out-of-credit situations.
cifs: Identify a connection by a conn_id.
cifs: Reformat DebugData and index connections by conn_id.
cifs: Fix cifsacl ACE mask for group and others.
cifs: Retain old ACEs when converting between mode bits and ACL.
cifs: Change SIDs in ACEs while transferring file ownership.
cifs: If a corrupted DACL is returned by the server, bail out.

Steve French (11):
smb3: negotiate current dialect (SMB3.1.1) when version 3 or
greater requested
cifs: fix trivial typo
cifs: documentation cleanup
cifs: change confusing field serverName (to ip_addr)
cifs: clarify hostname vs ip address in /proc/fs/cifs/DebugData
cifs: cleanup a few le16 vs. le32 uses in cifsacl.c
cifs: minor simplification to smb2_is_network_name_deleted
cifs: Add new mount parameter "acdirmax" to allow caching
directory metadata
cifs: convert revalidate of directories to using directory
metadata cache timeout
cifs: Add new parameter "acregmax" for distinct file and
directory metadata timeout
cifs: update internal version number

YueHaibing (1):
cifs: Fix inconsistent IS_ERR and PTR_ERR

Documentation/admin-guide/cifs/authors.rst | 6 +-
Documentation/admin-guide/cifs/changes.rst | 5 +-
Documentation/admin-guide/cifs/introduction.rst | 30 +-
Documentation/admin-guide/cifs/todo.rst | 34 ++-
Documentation/admin-guide/cifs/usage.rst | 2 +-
fs/cifs/cifs_debug.c | 121 ++++----
fs/cifs/cifs_swn.c | 2 +-
fs/cifs/cifsacl.c | 379 +++++++++++++++++++-----
fs/cifs/cifsacl.h | 4 +-
fs/cifs/cifsencrypt.c | 6 +-
fs/cifs/cifsfs.c | 15 +-
fs/cifs/cifsfs.h | 2 +-
fs/cifs/cifsglob.h | 11 +-
fs/cifs/cifsproto.h | 2 +
fs/cifs/cifssmb.c | 6 +-
fs/cifs/connect.c | 301 ++++++++++---------
fs/cifs/dfs_cache.c | 33 ++-
fs/cifs/file.c | 2 +-
fs/cifs/fs_context.c | 75 +++--
fs/cifs/fs_context.h | 6 +-
fs/cifs/inode.c | 23 +-
fs/cifs/sess.c | 2 +-
fs/cifs/smb2ops.c | 109 +++++--
fs/cifs/smb2pdu.c | 22 +-
fs/cifs/trace.h | 36 ++-
fs/cifs/transport.c | 63 ++--
26 files changed, 883 insertions(+), 414 deletions(-)

--
Thanks,

Steve