Thread (5 messages) read the whole thread 5 messages, 5 authors, 2019-02-12

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

From: Bart Van Assche <bvanassche@acm.org>
Date: 2019-02-12 16:27:20

On Fri, 2019-02-08 at 18:38 -0500, Martin K. Petersen wrote:
quoted hunk ↗ jump to hunk
diff --git a/block/genhd.c b/block/genhd.c
index 1dd8fd6613b8..e29805bfa989 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -1549,11 +1549,22 @@ void set_disk_ro(struct gendisk *disk, int flag)
Hi Martin,

Please change the data type of flag from 'int' into enum disk_policy. Please
also change the return type of get_disk_ro() and please also update the data
type of the policy member in struct gendisk.

Thanks,

Bart.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help