Explicitly check td_trim(td) for the direction of next io_u
authorTomohiro Kusumi <tkusumi@tuxera.com>
Wed, 15 Feb 2017 20:40:55 +0000 (22:40 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 15 Feb 2017 20:52:24 +0000 (13:52 -0700)
commit5c8e84cab3bca39de54a69092473f000f8a57f40
treec2810ea64cb3f11ac9c3a341da9c47373a7817cc
parent6acbee37b570fc1323f9cede201589babfafa274
Explicitly check td_trim(td) for the direction of next io_u

This else case should explicitly check td_trim(td) since there is
a potential unused enum (e.g. DDIR_WAIT only used by iolog for now).

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