[GIT PULL] cifs/smb3 client fixes

From: Steve French
Date: Fri Sep 24 2021 - 19:23:35 EST

Please pull the following changes since commit

Merge tag '5.15-rc1-smb3' of git://git.samba.org/sfrench/cifs-2.6
(2021-09-20 15:30:29 -0700)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git tags/5.15-rc2-smb3-fixes

for you to fetch changes up to 9ed38fd4a15417cac83967360cf20b853bfab9b6:

cifs: fix incorrect check for null pointer in header_assemble
(2021-09-23 21:12:53 -0500)

Six small cifs/smb3 fixes, 2 for stable
- important fix for deferred close (found by a git functional test)
related to attribute caching on close.
- four (two cosmetic, two more serious) small fixes for problems
pointed out by smatch via Dan Carpenter
- fix for comment formatting problems pointed out by W=1

regression test results:
Dan Carpenter (1):
cifs: fix a sign extension bug

David Howells (1):
cifs: Deal with some warnings from W=1

Steve French (4):
cifs: Clear modified attribute bit from inode flags
smb3: correct smb3 ACL security descriptor
smb3: correct server pointer dereferencing check to be more consistent
cifs: fix incorrect check for null pointer in header_assemble

fs/cifs/connect.c | 5 +++--
fs/cifs/file.c | 4 ++--
fs/cifs/misc.c | 17 ++++++++++++++---
fs/cifs/smb2pdu.c | 4 ++--
4 files changed, 21 insertions(+), 9 deletions(-)