summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-05-29 01:13:57 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-10-05 09:20:58 +1300
commit5c900fd930edd45e9f23b36c1e68e5c2d8b96867 (patch)
tree2797936dec2d7568107e00e86a4747bb0b95d78a /source3/modules
parent5da5512985cf65c09abb33abaf5e8dc28167dac3 (diff)
downloadsamba-5c900fd930edd45e9f23b36c1e68e5c2d8b96867.tar.gz
samba-5c900fd930edd45e9f23b36c1e68e5c2d8b96867.tar.bz2
samba-5c900fd930edd45e9f23b36c1e68e5c2d8b96867.zip
shadow_copy2: add comment block explaining shadow_copy2_convert()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
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)