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