[GIT PULL] SMB3 Fixes

From: Steve French
Date: Sun Dec 08 2019 - 00:41:21 EST


Please pull the following changes since commit
21b26d2679584c6a60e861aa3e5ca09a6bab0633:

Merge tag '5.5-rc-smb3-fixes' of
git://git.samba.org/sfrench/cifs-2.6 (2019-11-30 11:10:39 -0800)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git tags/5.5-rc-smb3-fixes-part2

for you to fetch changes up to 231e2a0ba56733c95cb77d8920e76502b2134e72:

smb3: improve check for when we send the security descriptor context
on create (2019-12-07 17:38:22 -0600)

----------------------------------------------------------------
9 cifs/smb3 fixes:
- one fix for stable (oops during oplock break)
- two timestamp fixes including important one for updating mtime at close
to avoid stale metadata caching issue on dirty files (also
improves perf
by using SMB2_CLOSE_FLAG_POSTQUERY_ATTRIB over the wire)
- two fixes for "modefromsid" mount option for file create
(now allows mode bits to be set more atomically and
accurately on create
by adding "sd_context" on create when modefromsid
specified on mount)
- two fixes for multichannel found in testing this week against
different servers
- two small cleanup patches
----------------------------------------------------------------
Aurelien Aptel (1):
cifs: fix possible uninitialized access and race on iface_list

Colin Ian King (1):
cifs: remove redundant assignment to pointer pneg_ctxt

Deepa Dinamani (1):
fs: cifs: Fix atime update check vs mtime

Paulo Alcantara (SUSE) (1):
cifs: Fix lookup of SMB connections on multichannel

Pavel Shilovsky (1):
CIFS: Fix NULL-pointer dereference in smb2_push_mandatory_locks

Steve French (4):
smb3: remove unused flag passed into close functions
smb3: query attributes on file close
smb3: fix mode passed in on create for modetosid mount option
smb3: improve check for when we send the security descriptor
context on create

fs/cifs/cifsacl.c | 42 ++++++++++++++++----------
fs/cifs/cifsacl.h | 32 ++++++++++----------
fs/cifs/cifsglob.h | 4 +++
fs/cifs/cifsproto.h | 1 +
fs/cifs/connect.c | 6 +++-
fs/cifs/file.c | 11 ++++---
fs/cifs/inode.c | 2 +-
fs/cifs/sess.c | 32 ++++++++++++++++++--
fs/cifs/smb2inode.c | 2 +-
fs/cifs/smb2ops.c | 49 +++++++++++++++++++++++++++---
fs/cifs/smb2pdu.c | 128
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------
fs/cifs/smb2pdu.h | 21 +++++++++++++
fs/cifs/smb2proto.h | 7 +++--
13 files changed, 265 insertions(+), 72 deletions(-)


--
Thanks,

Steve