Re: [PATCH] scsi: sd: block: Handle cases where devices come online read-only

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

 



On Fri, 2019-02-08 at 18:38 -0500, Martin K. Petersen wrote:
+AD4 diff --git a/block/genhd.c b/block/genhd.c
+AD4 index 1dd8fd6613b8..e29805bfa989 100644
+AD4 --- a/block/genhd.c
+AD4 +-+-+- b/block/genhd.c
+AD4 +AEAAQA -1549,11 +-1549,22 +AEAAQA void set+AF8-disk+AF8-ro(struct gendisk +ACo-disk, int flag)

Hi Martin,

Please change the data type of flag from 'int' into enum disk+AF8-policy. Please
also change the return type of get+AF8-disk+AF8-ro() and please also update the data
type of the policy member in struct gendisk.

Thanks,

Bart.




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux