block: move existing elevator ops to union
authorJens Axboe <axboe@fb.com>
Sat, 10 Dec 2016 22:13:59 +0000 (15:13 -0700)
committerJens Axboe <axboe@fb.com>
Sat, 17 Dec 2016 00:13:38 +0000 (17:13 -0700)
commit852cbf3bd05e08748101d3af88ac4d5dd66910f3
treee0647ab09aefc67c2f5cf4ff1cbe30c5abe16a0d
parent59331c215daf600a650e281b6e8ef3e1ed1174c2
block: move existing elevator ops to union

Prep patch for adding MQ ops as well, since doing anon unions with
named initializers doesn't work on older compilers.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-ioc.c
block/blk-merge.c
block/blk.h
block/cfq-iosched.c
block/deadline-iosched.c
block/elevator.c
block/noop-iosched.c
include/linux/elevator.h