diff options
author | Steve French <stfrench@microsoft.com> | 2018-06-15 04:56:32 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-06-15 09:38:08 +0200 |
commit | bea851b8babe6c87c36e97c9de0dd0bea0dd5802 (patch) | |
tree | 96f368fbb78d6b4a61e9f8174e35372ea806d240 /fs/cifs/smb2proto.h | |
parent | cifs: Fix kernel oops when traceSMB is enabled (diff) | |
download | linux-bea851b8babe6c87c36e97c9de0dd0bea0dd5802.tar.xz linux-bea851b8babe6c87c36e97c9de0dd0bea0dd5802.zip |
smb3: Fix mode on mkdir on smb311 mounts
mkdir was not passing the mode on smb3.11 mounts with posix extensions
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r-- | fs/cifs/smb2proto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h index c84020057bd8..78371c1a6503 100644 --- a/fs/cifs/smb2proto.h +++ b/fs/cifs/smb2proto.h @@ -79,6 +79,10 @@ extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, bool set_alloc); extern int smb2_set_file_info(struct inode *inode, const char *full_path, FILE_BASIC_INFO *buf, const unsigned int xid); +extern int smb311_posix_mkdir(const unsigned int xid, struct inode *inode, + umode_t mode, struct cifs_tcon *tcon, + const char *full_path, + struct cifs_sb_info *cifs_sb); extern int smb2_mkdir(const unsigned int xid, struct cifs_tcon *tcon, const char *name, struct cifs_sb_info *cifs_sb); extern void smb2_mkdir_setinfo(struct inode *inode, const char *full_path, |