git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9361824
)
shadow_copy2: add header comment explaining have_snapdir()
author
Michael Adam
<obnox@samba.org>
Thu, 23 May 2013 21:59:49 +0000
(23:59 +0200)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_shadow_copy2.c
b/source3/modules/vfs_shadow_copy2.c
index 8bbb7b824c29f125fb01b674b818790c95145011..932f93f693bdf467ed0f4fdfed46442f4dd5dd43 100644
(file)
--- 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)
{