cifs: add a smb_version_operations/values structures and a smb_version enum
authorJeff Layton <jlayton@redhat.com>
Tue, 15 May 2012 16:20:51 +0000 (12:20 -0400)
committerSteve French <sfrench@us.ibm.com>
Thu, 17 May 2012 01:13:34 +0000 (20:13 -0500)
commit23db65f511e6ee98ad767833f2ec58b0568ba32b
tree3e883154e734542aed2ec6e9e77dc22d24e8a54c
parent5249af32da5330c0bcaf0412a32aa30c5e93e908
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>
fs/cifs/Makefile
fs/cifs/cifsfs.c
fs/cifs/cifsglob.h
fs/cifs/connect.c
fs/cifs/smb1ops.c [new file with mode: 0644]