features/marker: xtime should not be updated for modifications done by special client.

Change-Id: Ia577422dedb94a1febeceb2a50cabf61d48cb714
BUG: 769494
Signed-off-by: Junaid <junaid@gluster.com>
Reviewed-on: http://review.gluster.com/2559
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaushik BV <kaushikbv@gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Csaba Henk <csaba@gluster.com>
This commit is contained in:
Junaid 2012-01-04 12:46:53 +05:30 committed by Vijay Bellur
parent 0a4ac03309
commit c66ced7d87

View File

@ -434,12 +434,18 @@ marker_create_frame (xlator_t *this, marker_local_t *local)
int32_t
marker_xtime_update_marks (xlator_t *this, marker_local_t *local)
{
GF_VALIDATE_OR_GOTO ("marker", this, out);
GF_VALIDATE_OR_GOTO (this->name, local, out);
if (local->pid == -1)
goto out;
marker_gettimeofday (local);
marker_local_ref (local);
marker_create_frame (this, local);
out:
return 0;
}