shadow_copy2: add comment explaining the SMB level GMT format pattern
authorMichael Adam <obnox@samba.org>
Wed, 29 May 2013 15:11:44 +0000 (17:11 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 13 Jan 2014 09:17:20 +0000 (10:17 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 6da7375cd881f85f2873578db7fcfb368deab94f)

source3/include/smb.h

index 568ba5472fc8be5c5c2a44712f5cbe77127b802c..0057b443ecaf6f1a24476b11d76890a78d2e9134 100644 (file)
@@ -567,7 +567,15 @@ Offset  Data                       length.
 #define NOTIFY_ACTION_REMOVED_STREAM 7
 #define NOTIFY_ACTION_MODIFIED_STREAM 8
 
-/* timestamp format used in "previous versions" */
+/*
+ * Timestamp format used in "previous versions":
+ * The is the windows-level format of the @GMT- token.
+ * It is a fixed format not to be confused with the
+ * format for the POSIX-Level token of the shadow_copy2
+ * VFS module that can be configured via the "shadow:format"
+ * configuration option but defaults to the same format.
+ * See the shadow_copy2 module.
+ */
 #define GMT_NAME_LEN 24 /* length of a @GMT- name */
 #define GMT_FORMAT "@GMT-%Y.%m.%d-%H.%M.%S"