Explicitly check td_trim(td) to detect open(2) flag
authorTomohiro Kusumi <tkusumi@tuxera.com>
Tue, 7 Mar 2017 20:12:58 +0000 (22:12 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 10 Mar 2017 21:43:37 +0000 (14:43 -0700)
commit49cff020b15ad63a64188618e8b17d9f9463649d
treedb8593da7f211f912cba62a9eeccfc9cb44868b7
parentc4aa2d0825c180dd96ffff8ce1d74b967f3a0f4a
Explicitly check td_trim(td) to detect open(2) flag

This part is a bit complicated due to td's ddir being a bit flag.

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