On Fri, 2019-02-08 at 18:38 -0500, Martin K. Petersen wrote: > 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.