diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-05-15 12:20:51 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2012-05-16 21:13:34 -0400 |
commit | 23db65f511e6ee98ad767833f2ec58b0568ba32b (patch) | |
tree | 3e883154e734542aed2ec6e9e77dc22d24e8a54c /fs/cifs/cifsfs.c | |
parent | 5249af32da5330c0bcaf0412a32aa30c5e93e908 (diff) |
cifs: add a smb_version_operations/values structures and a smb_version enum
We need a way to dispatch different operations for different versions.
Behold the smb_version_operations/values structures. For now, those
structures just hold the version enum value and nothing uses them.
Eventually, we'll expand them to cover other operations/values as we
change the callers to dispatch from here.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index f718d5780062..8a6928c4537d 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -354,6 +354,7 @@ cifs_show_options(struct seq_file *s, struct dentry *root) | |||
354 | struct sockaddr *srcaddr; | 354 | struct sockaddr *srcaddr; |
355 | srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr; | 355 | srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr; |
356 | 356 | ||
357 | seq_printf(s, ",vers=%s", tcon->ses->server->vals->version_string); | ||
357 | cifs_show_security(s, tcon->ses->server); | 358 | cifs_show_security(s, tcon->ses->server); |
358 | cifs_show_cache_flavor(s, cifs_sb); | 359 | cifs_show_cache_flavor(s, cifs_sb); |
359 | 360 | ||