diff options
author | Tejun Heo <tj@kernel.org> | 2010-12-08 19:57:36 (GMT) |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-12-16 16:53:38 (GMT) |
commit | d2bf1b6723ed0eab378363649d15b7893bf14e91 (patch) | |
tree | 4a4144b09ab747ad661605aa761753d9a805e77f /include/linux/blkdev.h | |
parent | dddd9dc340ae1a41d90e084529ca979c77c4ecfe (diff) | |
download | linux-fsl-qoriq-d2bf1b6723ed0eab378363649d15b7893bf14e91.tar.xz |
block: move register_disk() and del_gendisk() to block/genhd.c
There's no reason for register_disk() and del_gendisk() to be in
fs/partitions/check.c. Move both to genhd.c. While at it, collapse
unlink_gendisk(), which was artificially in a separate function due to
genhd.c / check.c split, into del_gendisk().
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index aae86fd..83031bc 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -643,7 +643,6 @@ static inline void rq_flush_dcache_pages(struct request *rq) extern int blk_register_queue(struct gendisk *disk); extern void blk_unregister_queue(struct gendisk *disk); -extern void register_disk(struct gendisk *dev); extern void generic_make_request(struct bio *bio); extern void blk_rq_init(struct request_queue *q, struct request *rq); extern void blk_put_request(struct request *); |