~samba-team/cifs-utils/trunk

Viewing all changes in revision 484.

  • Committer: Pavel Shilovsky
  • Date: 2019-04-05 16:42:43 UTC
  • Revision ID: git-v1:c52be345de22669c53a6ec41c28914183bf65d09
mount.cifs: detect GMT format of snapshot version

In order to provide an easy way to access snapshots a GMT
token string should be allowed as a "snapshot" mount option
argument, not SMB 100-nanoseconds time only. Detect if the
argument is in GMT format and convert it to SMB 100-nanoseconds
time before passing to the kernel.

Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Reviewed-by: Paulo Alcantara <palcantara@suse.de>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: