From f8fd361bbfa69deb3fef3e890906a7092cfebe53 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 24 May 2013 00:01:14 +0200 Subject: [PATCH] shadow_copy2: add comment block explaining shadow_copy2_find_snapdir() Signed-off-by: Michael Adam Reviewed-by: Andrew Bartlett (cherry picked from commit b90d1e6ac06fd4c1aaaceadcb711800499334117) --- source3/modules/vfs_shadow_copy2.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c index 204c9695aa6..783f670cd40 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -994,6 +994,10 @@ static char *have_snapdir(struct vfs_handle_struct *handle, return NULL; } +/** + * Find the snapshot directory (if any) for the given + * filename (which is relative to the share). + */ static char *shadow_copy2_find_snapdir(TALLOC_CTX *mem_ctx, struct vfs_handle_struct *handle, struct smb_filename *smb_fname) -- 2.11.4.GIT