diff options
author | Michael Adam <obnox@samba.org> | 2013-05-24 17:20:42 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-10-05 09:20:56 +1300 |
commit | 5da5512985cf65c09abb33abaf5e8dc28167dac3 (patch) | |
tree | 99ae5d9aa22c24374956cb9bb5f648e5ec434303 /source3 | |
parent | b90d1e6ac06fd4c1aaaceadcb711800499334117 (diff) | |
download | samba-5da5512985cf65c09abb33abaf5e8dc28167dac3.tar.gz samba-5da5512985cf65c09abb33abaf5e8dc28167dac3.tar.bz2 samba-5da5512985cf65c09abb33abaf5e8dc28167dac3.zip |
shadow_copy2: add comment block explaining shadow_copy2_insert_string()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_shadow_copy2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c index 9f4f1118e4..06e5115f35 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -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) |