Fix for https://bugzilla.kernel.org/show_bug.cgi?id=203737
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
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@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (2)
-
Matwey V. Kornilov -
Саша Ковтуненко