summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb1ops.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-05-27 12:48:35 -0400
committerPavel Shilovsky <pshilovsky@samba.org>2012-07-24 13:55:02 -0400
commitaf4281dc22f1eb8a9503b53330ca02f57db68b25 (patch)
tree036c41aad2cc46b573c48824f55751e2aadb069b /fs/cifs/smb1ops.c
parentb669f33ca61738171aecc5ae90d776d91b122eb8 (diff)
CIFS: Move informational tcon calls to ops struct
and rename variables in cifs_mount. Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb1ops.c')
-rw-r--r--fs/cifs/smb1ops.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/cifs/smb1ops.c b/fs/cifs/smb1ops.c
index 6d9025b29e54..96eb06ff9dd1 100644
--- a/fs/cifs/smb1ops.c
+++ b/fs/cifs/smb1ops.c
@@ -410,6 +410,13 @@ cifs_negotiate(const unsigned int xid, struct cifs_ses *ses)
410 return rc; 410 return rc;
411} 411}
412 412
413static void
414cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon)
415{
416 CIFSSMBQFSDeviceInfo(xid, tcon);
417 CIFSSMBQFSAttributeInfo(xid, tcon);
418}
419
413struct smb_version_operations smb1_operations = { 420struct smb_version_operations smb1_operations = {
414 .send_cancel = send_nt_cancel, 421 .send_cancel = send_nt_cancel,
415 .compare_fids = cifs_compare_fids, 422 .compare_fids = cifs_compare_fids,
@@ -435,6 +442,7 @@ struct smb_version_operations smb1_operations = {
435 .tree_connect = CIFSTCon, 442 .tree_connect = CIFSTCon,
436 .tree_disconnect = CIFSSMBTDis, 443 .tree_disconnect = CIFSSMBTDis,
437 .get_dfs_refer = CIFSGetDFSRefer, 444 .get_dfs_refer = CIFSGetDFSRefer,
445 .qfs_tcon = cifs_qfs_tcon,
438}; 446};
439 447
440struct smb_version_values smb1_values = { 448struct smb_version_values smb1_values = {