From: Jens Axboe Date: Tue, 13 Feb 2007 16:42:35 +0000 (+0100) Subject: [PATCH] Woops, left debug clear in there X-Git-Tag: fio-1.12~94 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=e9fbdd74f6ac24d93824177a8858c028305c9900;p=fio.git [PATCH] Woops, left debug clear in there Signed-off-by: Jens Axboe --- diff --git a/io_u.c b/io_u.c index ae92df5d..c56ccc6c 100644 --- a/io_u.c +++ b/io_u.c @@ -44,7 +44,6 @@ static void mark_random_map(struct thread_data *td, struct fio_file *f, idx = RAND_MAP_IDX(td, f, block); bit = RAND_MAP_BIT(td, f, block); - idx = f->num_maps; fio_assert(td, idx < f->num_maps); f->file_map[idx] |= (1UL << bit);