patch for vfs_shadow_copy2.c
Volker Lendecke
Volker.Lendecke at SerNet.DE
Thu Dec 12 04:09:56 MST 2013
On Thu, Dec 12, 2013 at 04:50:20PM +1100, David Keegel wrote:
> The attached patch is to comments only (in vfs_shadow_copy2.c and smb.h).
>
> It is intended to be applied with patch -p1.
> The source files I used were from git branch "master" today.
Attached as a git patch with my reviewed-by. Anybody else?
Thanks,
Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From e66f5cbb55b87fdf5aeabd56603e6604347e5f15 Mon Sep 17 00:00:00 2001
From: David Keegel <djk-samba at cyber.com.au>
Date: Thu, 12 Dec 2013 12:08:58 +0100
Subject: [PATCH] shadow_copy2: Fix some typos
Reviewed-by: Volker Lendecke <vl at samba.org>
---
source3/include/smb.h | 2 +-
source3/modules/vfs_shadow_copy2.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 34900db..16aef87 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -550,7 +550,7 @@ Offset Data length.
/*
* Timestamp format used in "previous versions":
- * The is the windows-level format of the @GMT- token.
+ * This is the windows-level format of the @GMT- token.
* It is a fixed format not to be confused with the
* format for the POSIX-Level token of the shadow_copy2
* VFS module that can be configured via the "shadow:format"
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index 8243f63..d9ade1a 100644
--- a/source3/modules/vfs_shadow_copy2.c
+++ b/source3/modules/vfs_shadow_copy2.c
@@ -86,7 +86,7 @@ static bool shadow_copy2_find_slashes(TALLOC_CTX *mem_ctx, const char *str,
}
/**
- * Given a timstamp, build the posix level GTM-tag string
+ * Given a timestamp, build the posix level GMT-tag string
* based on the configurable format.
*/
static size_t shadow_copy2_posix_gmt_string(struct vfs_handle_struct *handle,
@@ -136,7 +136,7 @@ static size_t shadow_copy2_posix_gmt_string(struct vfs_handle_struct *handle,
}
/**
- * Given a timstamp, build the string to insert into a path
+ * Given a timestamp, build the string to insert into a path
* as a path component for creating the local path to the
* snapshot at the given timestamp of the input path.
*
@@ -218,7 +218,7 @@ static char *shadow_copy2_snapshot_path(TALLOC_CTX *mem_ctx,
}
/**
- * Strip a snapshot component from an filename as
+ * Strip a snapshot component from a filename as
* handed in via the smb layer.
* Returns the parsed timestamp and the stripped filename.
*/
--
1.7.9.5
More information about the samba-technical
mailing list