diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-05-27 18:48:35 +0200 |
---|---|---|
committer | Pavel Shilovsky <pshilovsky@samba.org> | 2012-07-24 19:55:02 +0200 |
commit | af4281dc22f1eb8a9503b53330ca02f57db68b25 (patch) | |
tree | 036c41aad2cc46b573c48824f55751e2aadb069b /fs/cifs/smb1ops.c | |
parent | CIFS: Move getting dfs referalls to ops struct (diff) | |
download | linux-af4281dc22f1eb8a9503b53330ca02f57db68b25.tar.xz linux-af4281dc22f1eb8a9503b53330ca02f57db68b25.zip |
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.c | 8 |
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) return rc; } +static void +cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) +{ + CIFSSMBQFSDeviceInfo(xid, tcon); + CIFSSMBQFSAttributeInfo(xid, tcon); +} + struct smb_version_operations smb1_operations = { .send_cancel = send_nt_cancel, .compare_fids = cifs_compare_fids, @@ -435,6 +442,7 @@ struct smb_version_operations smb1_operations = { .tree_connect = CIFSTCon, .tree_disconnect = CIFSSMBTDis, .get_dfs_refer = CIFSGetDFSRefer, + .qfs_tcon = cifs_qfs_tcon, }; struct smb_version_values smb1_values = { |