]> www.infradead.org Git - users/hch/block.git/commit
block: add a bdev_kobj helper
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Nov 2020 05:45:08 +0000 (06:45 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 16 Nov 2020 10:07:06 +0000 (11:07 +0100)
commitfa46bc2c072a9ea7c4bf0f684d7cc60e4df59a19
tree0e7c20305c0b5c9501e35157927519ce87afa10c
parent152d901764e2e61ffe5c0cb1fe89405fc956cf92
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>
drivers/md/bcache/super.c
drivers/md/md.c
fs/btrfs/sysfs.c
include/linux/blk_types.h