From 1d6cd6bb0f2f5875e8e4ad370cf1ff2c601cbfd4 Mon Sep 17 00:00:00 2001 From: Manikandan Selvaganesh Date: Mon, 2 Feb 2015 11:57:54 +0530 Subject: Xlators : Fixed typos Change-Id: I948f85cb369206ee8ce8b8cd5e48cae9adb971c9 BUG: 1075417 Signed-off-by: Manikandan Selvaganesh Reviewed-on: http://review.gluster.org/9529 Reviewed-by: Niels de Vos Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY Reviewed-by: Humble Devassy Chirammal --- xlators/features/changelog/lib/src/gf-history-changelog.c | 4 ++-- xlators/features/changelog/src/changelog-helpers.h | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'xlators/features/changelog') diff --git a/xlators/features/changelog/lib/src/gf-history-changelog.c b/xlators/features/changelog/lib/src/gf-history-changelog.c index 12f51da8fa2..9b1da843b49 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 33a99ee4eed..aca2e706e0c 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; -- cgit