summaryrefslogtreecommitdiff
path: root/fs/cifs/smb2file.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2013-07-09 18:20:30 +0400
committerSteve French <smfrench@gmail.com>2013-07-10 13:08:40 -0500
commit064f6047a123d61dd52bb44605c999cd8ef727d9 (patch)
tree1be5444dd6726a51682b3581418e97488251f168 /fs/cifs/smb2file.c
parent226730b4d8adae393dc07092655cdd29d2a2ff07 (diff)
CIFS: Make SMB2_open use cifs_open_parms struct
to prepare it for further durable handle reconnect processing. 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.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/cifs/smb2file.c b/fs/cifs/smb2file.c
index 5bab192f64e8..398992962cc6 100644
--- a/fs/cifs/smb2file.c
+++ b/fs/cifs/smb2file.c
@@ -85,10 +85,7 @@ smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms,
if (oparms->tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_LEASING)
memcpy(smb2_oplock + 1, fid->lease_key, SMB2_LEASE_KEY_SIZE);
- rc = SMB2_open(xid, oparms->tcon, smb2_path, &fid->persistent_fid,
- &fid->volatile_fid, oparms->desired_access,
- oparms->disposition, oparms->create_options, smb2_oplock,
- smb2_data);
+ rc = SMB2_open(xid, oparms, smb2_path, smb2_oplock, smb2_data);
if (rc)
goto out;