summaryrefslogtreecommitdiff
path: root/fs/cifs/smb2file.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2013-07-05 12:21:26 +0400
committerSteve French <smfrench@gmail.com>2013-07-10 22:08:39 +0400
commitca81983fe5e095ee90c0f7b6013e7c446af17088 (patch)
treebd2b8d13f0ded75a5de99f9878f9612486078332 /fs/cifs/smb2file.c
parentfd55439638a27e34d87b91d618c0ba6b42302940 (diff)
downloadlinux-ca81983fe5e095ee90c0f7b6013e7c446af17088.tar.xz
CIFS: Respect create_options in smb2_open_file
and eliminated unused file_attribute parms of SMB2_open. Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steven French <steven@steven-GA-970A-DS3.(none)>
Diffstat (limited to 'fs/cifs/smb2file.c')
-rw-r--r--fs/cifs/smb2file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2file.c b/fs/cifs/smb2file.c
index 5da1b55a2258..46a4299b7ae8 100644
--- a/fs/cifs/smb2file.c
+++ b/fs/cifs/smb2file.c
@@ -88,7 +88,7 @@ smb2_open_file(const unsigned int xid, struct cifs_tcon *tcon, const char *path,
rc = SMB2_open(xid, tcon, smb2_path, &fid->persistent_fid,
&fid->volatile_fid, desired_access, disposition,
- 0, 0, smb2_oplock, smb2_data);
+ create_options, smb2_oplock, smb2_data);
if (rc)
goto out;