shadow_copy2: add comment block explaining shadow_copy2_convert()
authorMichael Adam <obnox@samba.org>
Tue, 28 May 2013 23:13:57 +0000 (01:13 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 4 Oct 2013 20:20:58 +0000 (09:20 +1300)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/modules/vfs_shadow_copy2.c

index 06e5115f356e1088b27b7066a5371a4bc051922f..70d5174b2f869e61f884c6b423028c62549c3889 100644 (file)
@@ -314,6 +314,11 @@ static char *shadow_copy2_find_mount_point(TALLOC_CTX *mem_ctx,
        return path;
 }
 
+/**
+ * Convert from a name as handed in via the SMB layer
+ * and a timestamp into the local path of the snapshot
+ * of the provided file at the provided time.
+ */
 static char *shadow_copy2_convert(TALLOC_CTX *mem_ctx,
                                  struct vfs_handle_struct *handle,
                                  const char *name, time_t timestamp)