summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog
diff options
context:
space:
mode:
authorManikandan Selvaganesh <mselvaga@redhat.com>2015-02-02 11:57:54 +0530
committerVijay Bellur <vbellur@redhat.com>2015-04-02 03:21:08 -0700
commit1d6cd6bb0f2f5875e8e4ad370cf1ff2c601cbfd4 (patch)
treeee33c0da18965079b2c95de1dfa3c794be7539f7 /xlators/features/changelog
parent12e603bb9d8bc220eeea01c0ecc8ca63f9df4bc4 (diff)
Xlators : Fixed typos
Change-Id: I948f85cb369206ee8ce8b8cd5e48cae9adb971c9 BUG: 1075417 Signed-off-by: Manikandan Selvaganesh <mselvaga@redhat.com> Reviewed-on: http://review.gluster.org/9529 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Diffstat (limited to 'xlators/features/changelog')
-rw-r--r--xlators/features/changelog/lib/src/gf-history-changelog.c4
-rw-r--r--xlators/features/changelog/src/changelog-helpers.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/xlators/features/changelog/lib/src/gf-history-changelog.c b/xlators/features/changelog/lib/src/gf-history-changelog.c
index 12f51da..9b1da84 100644
--- a/xlators/features/changelog/lib/src/gf-history-changelog.c
+++ b/xlators/features/changelog/lib/src/gf-history-changelog.c
@@ -93,7 +93,7 @@ gf_history_changelog_done (char *file)
/**
* @API
* gf_history_changelog_start_fresh:
- * For a set of changelogs, start from the begining.
+ * For a set of changelogs, start from the beginning.
* It will truncates the history tracker fd.
*
* RETURN VALUES:
@@ -399,7 +399,7 @@ out:
* @value : time stamp to search
* @from : start index to search
* @to : end index to search
- * @len : length of fixes length strings seperated by null
+ * @len : length of fixes length strings separated by null
*/
int
diff --git a/xlators/features/changelog/src/changelog-helpers.h b/xlators/features/changelog/src/changelog-helpers.h
index 33a99ee..aca2e70 100644
--- a/xlators/features/changelog/src/changelog-helpers.h
+++ b/xlators/features/changelog/src/changelog-helpers.h
@@ -217,6 +217,9 @@ struct changelog_priv {
/* lock to synchronize CSNAP updation */
gf_lock_t c_snap_lock;
+ /* written end of the pipe */
+ int wfd;
+
/* rollover time */
int32_t rollover_time;