summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-05-24 00:01:14 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-10-05 09:20:55 +1300
commitb90d1e6ac06fd4c1aaaceadcb711800499334117 (patch)
treee89a5afe481e825991818c6e860b19c9045efe56 /source3
parent5b494b3dea559f632d57c9d33172e46e459e852f (diff)
downloadsamba-b90d1e6ac06fd4c1aaaceadcb711800499334117.tar.gz
samba-b90d1e6ac06fd4c1aaaceadcb711800499334117.tar.bz2
samba-b90d1e6ac06fd4c1aaaceadcb711800499334117.zip
shadow_copy2: add comment block explaining shadow_copy2_find_snapdir()
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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index 932f93f693..9f4f1118e4 100644
--- a/source3/modules/vfs_shadow_copy2.c
+++ b/source3/modules/vfs_shadow_copy2.c
@@ -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)