summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-05-29 01:13:57 +0200
committerKarolin Seeger <kseeger@samba.org>2014-01-13 10:15:52 +0100
commitcd96d92d35e7c995c2e6ee2330272f4a5740dd13 (patch)
treefa23be01fd25364a7964d77cce3aa607800c9585 /source3/modules
parentb578f7c3eeae3871155f72377915ce31eb4ef37b (diff)
downloadsamba-cd96d92d35e7c995c2e6ee2330272f4a5740dd13.tar.gz
shadow_copy2: add comment block explaining shadow_copy2_convert()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit 5c900fd930edd45e9f23b36c1e68e5c2d8b96867)
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_shadow_copy2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index 06e5115f35..70d5174b2f 100644
--- a/source3/modules/vfs_shadow_copy2.c
+++ b/source3/modules/vfs_shadow_copy2.c
@@ -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)