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

Саша Ковтуненко alexander198961 at gmail.com
Mon Jun 17 10:27:08 EDT 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20190617/a43f89c3/attachment.html>


More information about the Kernelnewbies mailing list