Re: [RFC PATCH v3 8/9] md: Implement ->corrupted_range()

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

 



On 12/15/2020 4:14 AM, Shiyang Ruan wrote:
  #ifdef CONFIG_SYSFS
+int bd_disk_holder_corrupted_range(struct block_device *bdev, loff_t off,
+				   size_t len, void *data);
  int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk);
  void bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk);
  #else
+int bd_disk_holder_corrupted_range(struct block_device *bdev, loff_t off,

Did you mean
  static inline int bd_disk_holder_corrupted_range(..
?

thanks,
-jane

+				   size_t len, void *data)
+{
+	return 0;
+}
  static inline int bd_link_disk_holder(struct block_device *bdev,
  				      struct gendisk *disk)



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux