diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2013-07-05 10:21:26 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-07-10 20:08:39 +0200 |
commit | ca81983fe5e095ee90c0f7b6013e7c446af17088 (patch) | |
tree | bd2b8d13f0ded75a5de99f9878f9612486078332 /fs/cifs/smb2file.c | |
parent | CIFS: Fix lease context buffer parsing (diff) | |
download | linux-ca81983fe5e095ee90c0f7b6013e7c446af17088.tar.xz linux-ca81983fe5e095ee90c0f7b6013e7c446af17088.zip |
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 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; |