genhd: Rename get_disk() to get_disk_and_module()
authorJan Kara <jack@suse.cz>
Mon, 26 Feb 2018 12:01:38 +0000 (13:01 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Feb 2018 16:48:42 +0000 (09:48 -0700)
commit3079c22ea815775837a4f389ce2f7e1e7b202e09
tree2210be59a22f091fcc79062255e64aa419c2d70c
parentd52987b524ccd2e2165ddad9bcc087a6c3f5332c
genhd: Rename get_disk() to get_disk_and_module()

Rename get_disk() to get_disk_and_module() to make sure what the
function does. It's not a great name but at least it is now clear that
put_disk() is not it's counterpart.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
drivers/block/amiflop.c
drivers/block/ataflop.c
drivers/block/brd.c
drivers/block/floppy.c
drivers/block/loop.c
drivers/block/swim.c
drivers/block/z2ram.c
drivers/ide/ide-probe.c
include/linux/genhd.h