block: move rq_ioc() to blk.h
authorJens Axboe <axboe@fb.com>
Wed, 14 Dec 2016 21:23:43 +0000 (14:23 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 17 Jan 2017 16:56:16 +0000 (09:56 -0700)
commitd071648894b68da56eef35a32184fbd098b6c41a
tree4b81bb9427832b8e543f3035179c0a72590410ae
parent6c85ec997f691b1fa2ffdf35db245e50c490d88f
block: move rq_ioc() to blk.h

We want to use it outside of blk-core.c.

Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Omar Sandoval <osandov@fb.com>
block/blk-core.c
block/blk.h