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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <hch@xxxxxx>
---
  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(+), 20 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke                Kernel Storage Architect
hare@xxxxxxx                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux