shadow_copy2: add header comment explaining have_snapdir()
authorMichael Adam <obnox@samba.org>
Thu, 23 May 2013 21:59:49 +0000 (23:59 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 4 Oct 2013 20:20:53 +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 8bbb7b824c29f125fb01b674b818790c95145011..932f93f693bdf467ed0f4fdfed46442f4dd5dd43 100644 (file)
@@ -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)
 {