• Steve French's avatar
    CIFS: Introduce SMB2 mounts as vers=2.1 · 1080ef75
    Steve French authored
    As with Linux nfs client, which uses "nfsvers=" or "vers=" to
    indicate which protocol to use for mount, specifying
    
    "vers=2.1"
    
    will force an SMB2 mount. When vers is not specified CIFS is used
    
    "vers=1"
    
    We can eventually autonegotiate down from SMB2 to CIFS
    when SMB2 is stable enough to make it the default, but this
    is for the future. At that time we could also implement a
    "maxprotocol" mount option as smbclient and Samba have today,
    but that would be premature until SMB2 is stable.
    
    Intially the SMB2 Kconfig option will depend on "BROKEN"
    until the merge is complete, and then be "EXPERIMENTAL"
    When it is no longer experimental we can consider changing
    the default protocol to attempt first.
    Signed-off-by: default avatarPavel Shilovsky <piastry@etersoft.ru>
    Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
    Acked-by: default avatarShirish Pargaonkar <shirishpargaonkar@gmail.com>
    Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
    1080ef75
Makefile 541 Bytes