git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4135afc
)
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
Karolin Seeger
<kseeger@samba.org>
Mon, 13 Jan 2014 09:17:20 +0000
(10:17 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit
5b494b3dea559f632d57c9d33172e46e459e852f
)
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 e421d0fd1cdb4ea35b45f1b8e596adb3fbb0ae04..204c9695aa633bd5fd779d8bc3eb895496eaac0c 100644
(file)
--- a/
source3/modules/vfs_shadow_copy2.c
+++ b/
source3/modules/vfs_shadow_copy2.c
@@
-965,6
+965,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)
{