diff options
author | Steve French <stfrench@microsoft.com> | 2019-09-25 00:32:13 -0500 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-09-26 02:06:42 -0500 |
commit | c3ca78e2174413c136d62ebdf8039580fe72b504 (patch) | |
tree | 44c0737e9b938ac3295d8e7e8f087e7559121947 /fs/cifs/cifssmb.c | |
parent | 131ea1ed3322c6ec06eb8f276f226c8a1f3bbf1b (diff) | |
download | linux-next-c3ca78e2174413c136d62ebdf8039580fe72b504.tar.gz |
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>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index dbee2132e419..4f554f019a98 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -1078,7 +1078,8 @@ RmDirRetry: } int -CIFSSMBMkDir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, +CIFSSMBMkDir(const unsigned int xid, struct inode *inode, umode_t mode, + struct cifs_tcon *tcon, const char *name, struct cifs_sb_info *cifs_sb) { int rc = 0; |