Fix another typo in gtod_reduce()
authorJens Axboe <axboe@fb.com>
Fri, 14 Feb 2014 15:46:35 +0000 (08:46 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 14 Feb 2014 15:46:35 +0000 (08:46 -0700)
Forgot one of the variables. Impressive.

Signed-off-by: Jens Axboe <axboe@fb.com>
io_u.c

diff --git a/io_u.c b/io_u.c
index 61038a4d07e899fa3af3c952014f504bfd96fdbd..b84b3e2307daa67f6723b1556cd9731c67ad5f36 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -1523,7 +1523,7 @@ void io_u_log_error(struct thread_data *td, struct io_u *io_u)
 
 static inline int gtod_reduce(struct thread_data *td)
 {
-       return td->o.disable_clat && td->o.disable_lat && !td->o.disable_slat
+       return td->o.disable_clat && td->o.disable_lat && td->o.disable_slat
                && td->o.disable_bw;
 }