smb3: pass mode bits into create calls
authorSteve French <stfrench@microsoft.com>
Wed, 25 Sep 2019 05:32:13 +0000 (00:32 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 26 Sep 2019 07:06:42 +0000 (02:06 -0500)
commitc3ca78e2174413c136d62ebdf8039580fe72b504
tree44c0737e9b938ac3295d8e7e8f087e7559121947
parent131ea1ed3322c6ec06eb8f276f226c8a1f3bbf1b
smb3: pass mode bits into create calls

We need to populate an ACL (security descriptor open context)
on file and directory correct.  This patch passes in the
mode.  Followon patch will build the open context and the
security descriptor (from the mode) that goes in the open
context.

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
fs/cifs/cifsglob.h
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/inode.c
fs/cifs/smb2inode.c
fs/cifs/smb2pdu.c
fs/cifs/smb2proto.h