Skip to content
Commit 4ce79063 authored by Tian Tao's avatar Tian Tao Committed by Jens Axboe
Browse files

virtio-blk: Use kobj_to_dev() instead of container_of()



Use kobj_to_dev() instead of container_of()

Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent c4823983
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