diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2013-07-05 12:21:26 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-07-10 13:08:39 -0500 |
commit | ca81983fe5e095ee90c0f7b6013e7c446af17088 (patch) | |
tree | bd2b8d13f0ded75a5de99f9878f9612486078332 /fs/cifs/smb2file.c | |
parent | fd55439638a27e34d87b91d618c0ba6b42302940 (diff) | |
download | op-kernel-dev-ca81983fe5e095ee90c0f7b6013e7c446af17088.zip op-kernel-dev-ca81983fe5e095ee90c0f7b6013e7c446af17088.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2file.c b/fs/cifs/smb2file.c index 5da1b55..46a4299 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; |