summaryrefslogtreecommitdiff
path: root/fs/cifs/dir.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2018-06-01 03:16:54 +0300
committerSteve French <stfrench@microsoft.com>2018-06-01 05:23:07 +0300
commitce558b0e17f8a6d4a57d264479d782c331266f0d (patch)
tree09c1e0b3e7a78cea4153d25f54389c300f25db59 /fs/cifs/dir.c
parent28d59363ae746d01e7841479da718631f941353d (diff)
downloadlinux-ce558b0e17f8a6d4a57d264479d782c331266f0d.tar.xz
smb3: Add posix create context for smb3.11 posix mounts
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r--fs/cifs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c
index 925844343038..ad345ac05901 100644
--- a/fs/cifs/dir.c
+++ b/fs/cifs/dir.c
@@ -369,7 +369,7 @@ cifs_do_create(struct inode *inode, struct dentry *direntry, unsigned int xid,
oparms.path = full_path;
oparms.fid = fid;
oparms.reconnect = false;
-
+ oparms.mode = mode;
rc = server->ops->open(xid, &oparms, oplock, buf);
if (rc) {
cifs_dbg(FYI, "cifs_create returned 0x%x\n", rc);