From: Michael Adam Date: Thu, 23 May 2013 21:32:15 +0000 (+0200) Subject: shadow_copy2: add comment header describing shadow_copy2_strip_snapshot() X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=9361824ddd291cb0e543a5a0829246831fcb9e84;p=mat%2Fsamba.git shadow_copy2: add comment header describing shadow_copy2_strip_snapshot() Signed-off-by: Michael Adam Reviewed-by: Andrew Bartlett --- 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,