shadow_copy2: add comment block explaining shadow_copy2_find_snapdir()
authorMichael Adam <obnox@samba.org>
Thu, 23 May 2013 22:01:14 +0000 (00:01 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 4 Oct 2013 20:20:55 +0000 (09:20 +1300)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/modules/vfs_shadow_copy2.c

index 932f93f693bdf467ed0f4fdfed46442f4dd5dd43..9f4f1118e4c4d3c087be407cf3888b4e57397dfb 100644 (file)
@@ -992,6 +992,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)