From: Jeremy Allison Date: Fri, 20 Jan 2017 19:50:49 +0000 (-0800) Subject: s3: VFS: shadow_copy2: Add two new variables to the config data. Not yet used. X-Git-Tag: samba-4.4.10~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa3a11a95bdcf91230dddb435b30033eb12068b3;p=thirdparty%2Fsamba.git s3: VFS: shadow_copy2: Add two new variables to the config data. Not yet used. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12531 Signed-off-by: Jeremy Allison Reviewed-by: Uri Simchoni (backported from commit 72fe2b62e3ee7462e5be855b01943f28b26c36c1) --- diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c index e7ffcae685c..83566450df6 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -48,6 +48,9 @@ struct shadow_copy2_config { char *mount_point; char *rel_connectpath; /* share root, relative to a snapshot root */ char *snapshot_basepath; /* the absolute version of snapdir */ + char *shadow_cwd; /* Absolute $cwd path. */ + /* Absolute connectpath - can vary depending on $cwd. */ + char *shadow_connectpath; }; static bool shadow_copy2_find_slashes(TALLOC_CTX *mem_ctx, const char *str,