summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/circ-buff.c
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2012-04-20 17:22:43 +0530
committerVijay Bellur <vijay@gluster.com>2012-05-17 00:16:58 -0700
commitd8ede99e6f429d3a63b794c495f99fc8f76e9651 (patch)
tree4d063819bee4cefd8f812797cdec15e62ce08e87 /libglusterfs/src/circ-buff.c
parent1d02db63ae17788c7ab28ac81dea0675500be845 (diff)
Self-heald: Print the time stamp of the event-history
Change-Id: I45767e26288ef6de6446ddf2ea82ed31e128d227 BUG: 796579 Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Reviewed-on: http://review.gluster.com/3277 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'libglusterfs/src/circ-buff.c')
-rw-r--r--libglusterfs/src/circ-buff.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libglusterfs/src/circ-buff.c b/libglusterfs/src/circ-buff.c
index 0eab436d48b..6c7907a095c 100644
--- a/libglusterfs/src/circ-buff.c
+++ b/libglusterfs/src/circ-buff.c
@@ -49,7 +49,6 @@ __cb_add_entry_buffer (buffer_t *buffer, void *item)
if (ret == -1)
gf_log_callingfn ("", GF_LOG_WARNING, "getting time of"
"the day failed");
-
buffer->w_index++;
buffer->w_index %= buffer->size_buffer - 1;
//used_buffer size cannot be greater than the total buffer size