• Steve French's avatar
    SMB3: parsing for new snapshot timestamp mount parm · 8b217fe7
    Steve French authored
    New mount option "snapshot=<time>" to allow mounting an earlier
    version of the remote volume (if such a snapshot exists on
    the server).
    
    Note that eventually specifying a snapshot time of 1 will allow
    the user to mount the oldest snapshot. A subsequent patch
    add the processing for that and another for actually specifying
    the "time warp" create context on SMB2/SMB3 open.
    
    Check to make sure SMB2 negotiated, and ensure that
    we use a different tcon if mount same share twice
    but with different snaphshot times
    Signed-off-by: default avatarSteve French <smfrench@gmail.com>
    Reviewed-by: default avatarPavel Shilovsky <pshilov@microsoft.com>
    8b217fe7
cifsglob.h 55 KB