shadow_copy2: add comment block explaining shadow_copy2_insert_string()
authorMichael Adam <obnox@samba.org>
Fri, 24 May 2013 15:20:42 +0000 (17:20 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 4 Oct 2013 20:20:56 +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 9f4f1118e4c4d3c087be407cf3888b4e57397dfb..06e5115f356e1088b27b7066a5371a4bc051922f 100644 (file)
@@ -141,6 +141,11 @@ static bool shadow_copy2_find_slashes(TALLOC_CTX *mem_ctx, const char *str,
        return true;
 }
 
+/**
+ * Given a timstamp, build the string to insert into a path
+ * as a path component for creating the local path to the
+ * snapshot at the given timestamp of the input path.
+ */
 static char *shadow_copy2_insert_string(TALLOC_CTX *mem_ctx,
                                        struct vfs_handle_struct *handle,
                                        time_t snapshot)