From 5b494b3dea559f632d57c9d33172e46e459e852f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 23 May 2013 23:59:49 +0200 Subject: shadow_copy2: add header comment explaining have_snapdir() Signed-off-by: Michael Adam Reviewed-by: Andrew Bartlett --- source3/modules/vfs_shadow_copy2.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/modules') diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c index 8bbb7b824c..932f93f693 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -963,6 +963,12 @@ done: return result; } +/** + * Check whether a given directory contains a + * snapshot directory as direct subdirectory. + * If yes, return the path of the snapshot-subdir, + * otherwise return NULL. + */ static char *have_snapdir(struct vfs_handle_struct *handle, const char *path) { -- cgit