Fix for https://bugzilla.kernel.org/show_bug.cgi?id=203737

Matwey V. Kornilov matwey.kornilov at gmail.com
Mon Jun 17 11:58:08 EDT 2019


Hi,

I think the following will help you:
https://www.kernel.org/doc/html/v5.1/process/submitting-patches.html

17.06.2019 17:27, Саша Ковтуненко пишет:
> Hello ,
> I am trying to fix https://bugzilla.kernel.org/show_bug.cgi?id=203737 in
> this way:
> --- a/fs/jfs/jfs_logmgr.c
> +++ b/fs/jfs/jfs_logmgr.c
> @@ -1223,6 +1223,7 @@ static int open_dummy_log(struct super_block *sb)
>                 /* Make up some stuff */
>                 dummy_log->base = 0;
>                 dummy_log->size = 1024;
> +               dummy_log->bdev = sb->s_bdev;
> There seems bio_set_dev(bio, bdev) in case bdev is null then we get error .
> Is this fix looks ok ?
> Thanks
> AK
> 
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> 





More information about the Kernelnewbies mailing list