On Thu, Nov 26, 2020 at 02:03:50PM +0100, Christoph Hellwig wrote: > Add a little helper to find the kobject for a struct block_device. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Reviewed-by: Jan Kara <jack@xxxxxxx> > Reviewed-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx> > Acked-by: Tejun Heo <tj@xxxxxxxxxx> > Acked-by: Coly Li <colyli@xxxxxxx> [bcache] > --- > drivers/md/bcache/super.c | 7 ++----- > drivers/md/md.c | 4 +--- > fs/block_dev.c | 6 +++--- For btrfs > fs/btrfs/sysfs.c | 15 +++------------ Acked-by: David Sterba <dsterba@xxxxxxxx>