Fixup data-direction to name translation
authorJens Axboe <axboe@fb.com>
Wed, 17 Sep 2014 02:07:59 +0000 (20:07 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 17 Sep 2014 02:07:59 +0000 (20:07 -0600)
commit173375c210386387624779febf287ead301fda01
treeb80674bb93b125d67037e4ec4f4c7f3efa99e889
parent17bf085367b5005f3fd05e30ce1c8075633fb901
Fixup data-direction to name translation

We had two of them, and they were both wrong since trim got
introduced. Replace by a single implementation in io_ddir.h,
right where it's defined.

Reported-by: Elliott, Robert <Elliott@hp.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
io_ddir.h
io_u.c
iolog.c