]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
SMB3: parsing for new snapshot timestamp mount parm
authorSteve French <smfrench@gmail.com>
Sat, 12 Nov 2016 04:36:20 +0000 (22:36 -0600)
committerSteve French <smfrench@gmail.com>
Thu, 1 Dec 2016 06:23:20 +0000 (00:23 -0600)
commit8b217fe7fcadd162944a88b14990b9723c27419f
tree62758e7afa8e799256c362c69ebd15ce43f48c84
parent43c4f67c966deb1478dc9acbf66ab547287d530f
SMB3: parsing for new snapshot timestamp mount parm

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: Steve French <smfrench@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/cifsglob.h
fs/cifs/connect.c