block: open code kobj_map into in block/genhd.c
Copy and paste the kobj_map functionality in the block code in preparation for completely rewriting it. Signed-off-by: NChristoph Hellwig <hch@lst.de> Reviewed-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录