Fix typo in blktrace code
authorJens Axboe <jens.axboe@oracle.com>
Tue, 15 May 2007 08:13:04 +0000 (10:13 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 15 May 2007 08:13:04 +0000 (10:13 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
blktrace.c

index 988ce59..c9141f6 100644 (file)
@@ -70,7 +70,7 @@ static void handle_trace(struct thread_data *td, struct blk_io_trace *t)
        if ((t->action & 0xffff) != __BLK_TA_QUEUE)
                return;
 
-       w = (t->action & BLK_TC_ACT(BLK_TC_WRITE)) != 0;
+       rw = (t->action & BLK_TC_ACT(BLK_TC_WRITE)) != 0;
        store_ipo(td, t->sector, t->bytes, rw);
 }