* Fix for https://bugzilla.kernel.org/show_bug.cgi?id=203737
@ 2019-06-17 14:27 Саша Ковтуненко
2019-06-17 15:58 ` Matwey V. Kornilov
0 siblings, 1 reply; 2+ messages in thread
From: Саша Ковтуненко @ 2019-06-17 14:27 UTC (permalink / raw)
To: kernelnewbies
[-- Attachment #1.1: Type: text/plain, Size: 488 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 709 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fix for https://bugzilla.kernel.org/show_bug.cgi?id=203737
2019-06-17 14:27 Fix for https://bugzilla.kernel.org/show_bug.cgi?id=203737 Саша Ковтуненко
@ 2019-06-17 15:58 ` Matwey V. Kornilov
0 siblings, 0 replies; 2+ messages in thread
From: Matwey V. Kornilov @ 2019-06-17 15:58 UTC (permalink / raw)
To: kernelnewbies
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
>
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-17 15:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-17 14:27 Fix for https://bugzilla.kernel.org/show_bug.cgi?id=203737 Саша Ковтуненко
2019-06-17 15:58 ` Matwey V. Kornilov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).