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:
01cb889
)
shadow_copy2: add comment header describing shadow_copy2_strip_snapshot()
author
Michael Adam
<obnox@samba.org>
Thu, 23 May 2013 21:32:15 +0000
(23:32 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 4 Oct 2013 20:20:51 +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 dd66010cfb22f93241950d596ec334895788038d..8bbb7b824c29f125fb01b674b818790c95145011 100644
(file)
--- a/
source3/modules/vfs_shadow_copy2.c
+++ b/
source3/modules/vfs_shadow_copy2.c
@@
-186,6
+186,11
@@
static char *shadow_copy2_insert_string(TALLOC_CTX *mem_ctx,
snaptime_string);
}
+/**
+ * Strip a snapshot component from an filename as
+ * handed in via the smb layer.
+ * Returns the parsed timestamp and the stripped filename.
+ */
static bool shadow_copy2_strip_snapshot(TALLOC_CTX *mem_ctx,
struct vfs_handle_struct *handle,
const char *name,