diff options
author | Michael Adam <obnox@samba.org> | 2013-05-23 23:32:15 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-10-05 09:20:51 +1300 |
commit | 9361824ddd291cb0e543a5a0829246831fcb9e84 (patch) | |
tree | 77053626397aaa55e514e6d2a3c1f230b8389119 /source3/modules | |
parent | 01cb88977da5bc44443407b100345531d047c77c (diff) | |
download | samba-9361824ddd291cb0e543a5a0829246831fcb9e84.tar.gz samba-9361824ddd291cb0e543a5a0829246831fcb9e84.tar.bz2 samba-9361824ddd291cb0e543a5a0829246831fcb9e84.zip |
shadow_copy2: add comment header describing shadow_copy2_strip_snapshot()
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.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 dd66010cfb..8bbb7b824c 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -186,6 +186,11 @@ static char *shadow_copy2_insert_string(TALLOC_CTX *mem_ctx, snaptime_string); } +/** + * Strip a snapshot component from an filename as + * handed in via the smb layer. + * Returns the parsed timestamp and the stripped filename. + */ static bool shadow_copy2_strip_snapshot(TALLOC_CTX *mem_ctx, struct vfs_handle_struct *handle, const char *name, |