Skip to content
Commit 9df6c299 authored by Jan Kara's avatar Jan Kara Committed by Jens Axboe
Browse files

genhd: Add helper put_disk_and_module()



Add a proper counterpart to get_disk_and_module() -
put_disk_and_module(). Currently it is opencoded in several places.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 3079c22e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment