summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-04-25 10:09:27 -0600
committerJens Axboe <axboe@kernel.dk>2019-04-25 10:09:27 -0600
commit839bea4f8e8f6cd00fb69028ae7a007643b53242 (patch)
tree2dd95be8b418a3d408d5a70775c3daf086759210
parent7beafc2d9180959eb433eded9608df9757e464b1 (diff)
Fix __FIO_OPT_G_ISCSI numbering
__FIO_OPT_G_NR must always be last, if it isn't then it doesn't denote the last used bit. Fixes: 247ef2aaf28a ("fio: add libiscsi engine") Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--optgroup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/optgroup.h b/optgroup.h
index 483addd..148c8da 100644
--- a/optgroup.h
+++ b/optgroup.h
@@ -62,8 +62,8 @@ enum opt_category_group {
__FIO_OPT_G_HDFS,
__FIO_OPT_G_SG,
__FIO_OPT_G_MMAP,
- __FIO_OPT_G_NR,
__FIO_OPT_G_ISCSI,
+ __FIO_OPT_G_NR,
FIO_OPT_G_RATE = (1ULL << __FIO_OPT_G_RATE),
FIO_OPT_G_ZONE = (1ULL << __FIO_OPT_G_ZONE),