Re: [dm-devel] [PATCH 71/78] block: add a bdev_kobj helper

2020-11-19 Thread Hannes Reinecke
On 11/16/20 3:58 PM, Christoph Hellwig wrote: Add a little helper to find the kobject for a struct block_device. Signed-off-by: Christoph Hellwig --- drivers/md/bcache/super.c | 7 ++- drivers/md/md.c | 4 +--- fs/btrfs/sysfs.c | 15 +++ include/linux/b

[dm-devel] [PATCH 71/78] block: add a bdev_kobj helper

2020-11-16 Thread Christoph Hellwig
Add a little helper to find the kobject for a struct block_device. Signed-off-by: Christoph Hellwig --- drivers/md/bcache/super.c | 7 ++- drivers/md/md.c | 4 +--- fs/btrfs/sysfs.c | 15 +++ include/linux/blk_types.h | 3 +++ 4 files changed, 9 insertions(+