diff options
author | Steve French | 2018-06-15 04:56:32 +0200 |
---|---|---|
committer | Steve French | 2018-06-15 09:38:08 +0200 |
commit | bea851b8babe6c87c36e97c9de0dd0bea0dd5802 (patch) | |
tree | 96f368fbb78d6b4a61e9f8174e35372ea806d240 /fs/cifs/cifsglob.h | |
parent | cifs: Fix kernel oops when traceSMB is enabled (diff) | |
download | kernel-qcow2-linux-bea851b8babe6c87c36e97c9de0dd0bea0dd5802.tar.gz kernel-qcow2-linux-bea851b8babe6c87c36e97c9de0dd0bea0dd5802.tar.xz kernel-qcow2-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/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 9dd5f1a3d64b..bd78da59a4fd 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -315,6 +315,10 @@ struct smb_version_operations { /* send echo request */ int (*echo)(struct TCP_Server_Info *); /* create directory */ + int (*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); int (*mkdir)(const unsigned int, struct cifs_tcon *, const char *, struct cifs_sb_info *); /* set info on created directory */ |