diff options
author | Christoph Hellwig | 2020-11-17 08:18:55 +0100 |
---|---|---|
committer | Jens Axboe | 2020-12-01 14:53:39 -0700 |
commit | 8d65269fe8065fee889bca5b204d711b0695a8f6 (patch) | |
tree | 6444d7cdab2f4a9e63021188538f27b28396b8d4 /block | |
parent | 3f50b95e0edd22824b2650eb65466bf7060f7488 (diff) |
block: add a bdev_kobj helper
Add a little helper to find the kobject for a struct block_device.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Coly Li <colyli@suse.de> [bcache]
Acked-by: David Sterba <dsterba@suse.com> [btrfs]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions