From: "Саша Ковтуненко" <alexander198961@gmail.com>
To: kernelnewbies@kernelnewbies.org
Subject: Fix for https://bugzilla.kernel.org/show_bug.cgi?id=203737
Date: Mon, 17 Jun 2019 17:27:08 +0300 [thread overview]
Message-ID: <CANtEx+AfT0VxVTKCqau=0Ymu88JF+xtN7OhN6ZjogKyPHLejdA@mail.gmail.com> (raw)
[-- 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
next reply other threads:[~2019-06-17 14:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-17 14:27 Саша Ковтуненко [this message]
2019-06-17 15:58 ` Fix for https://bugzilla.kernel.org/show_bug.cgi?id=203737 Matwey V. Kornilov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CANtEx+AfT0VxVTKCqau=0Ymu88JF+xtN7OhN6ZjogKyPHLejdA@mail.gmail.com' \
--to=alexander198961@gmail.com \
--cc=kernelnewbies@kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).