summaryrefslogtreecommitdiffstats
path: root/block/blk.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-01-17 11:48:08 -0800
committerJens Axboe <axboe@kernel.dk>2018-01-18 12:54:41 -0700
commit83d016ac86428dbca8a62d3e4fdc29e3ea39e535 (patch)
tree574a8b00e0c3dc7193823261dc4caa1ea2555054 /block/blk.h
parent8a8747dc01cee6f92a52c03ba686e9f60cb46c87 (diff)
downloadlinux-0-day-83d016ac86428dbca8a62d3e4fdc29e3ea39e535.tar.gz
linux-0-day-83d016ac86428dbca8a62d3e4fdc29e3ea39e535.tar.xz
block: Unexport elv_register_queue() and elv_unregister_queue()
These two functions are only called from inside the block layer so unexport them. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
-rw-r--r--block/blk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/block/blk.h b/block/blk.h
index c84ae0e21ebd8..b1771851ed92e 100644
--- a/block/blk.h
+++ b/block/blk.h
@@ -162,6 +162,9 @@ static inline void elv_deactivate_rq(struct request_queue *q, struct request *rq
e->type->ops.sq.elevator_deactivate_req_fn(q, rq);
}
+int elv_register_queue(struct request_queue *q);
+void elv_unregister_queue(struct request_queue *q);
+
struct hd_struct *__disk_get_part(struct gendisk *disk, int partno);
#ifdef CONFIG_FAIL_IO_TIMEOUT