[PATCH] Update q_iop->c_time in handle_queue()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This fixes a typo spotted by David Binderman <dcb314@xxxxxxxxxxx> where
i_time was used twice in the assignment where c_time should be used
instead.

Signed-off-by: Jan Blunck <jblunck@xxxxxxx>
---
 btt/trace_queue.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/btt/trace_queue.c b/btt/trace_queue.c
index 82c5760..64c991e 100644
--- a/btt/trace_queue.c
+++ b/btt/trace_queue.c
@@ -33,8 +33,8 @@ static void handle_queue(struct io *q_iop)
 		update_lq(&last_q, &all_avgs.q2q, q_iop->t.time);
 	}
 
-	q_iop->i_time = q_iop->g_time = q_iop->i_time = q_iop->m_time =
-						q_iop->d_time = (__u64)-1;
+	q_iop->g_time = q_iop->i_time = q_iop->m_time = q_iop->d_time =
+		q_iop->c_time = (__u64)-1;
 	q_iop->dip->n_qs++;
 
 	q_iop->dip->t_act_q += q_iop->dip->n_act_q;
-- 
1.6.1.3

--
To unsubscribe from this list: send the line "unsubscribe linux-btrace" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux