commit | d2bf1b6723ed0eab378363649d15b7893bf14e91 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Dec 08 20:57:36 2010 +0100 |
committer | Jens Axboe <jaxboe@fusionio.com> | Thu Dec 16 17:53:38 2010 +0100 |
tree | 4a4144b09ab747ad661605aa761753d9a805e77f | |
parent | dddd9dc340ae1a41d90e084529ca979c77c4ecfe [diff] |
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>