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>
Tue, 10 Jan 2017 21:29:06 +0000 (14:29 -0700)
commitf812bae52a11ba4d779da74686cf2d74a4dc4058
treedd0222e13e2d0b2be57319c3b9d36ec6335780c4
parentbd5d7428f5e50cc10b98cf0abc13ccac391e1e33
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