From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+c0360e8367d6d8d04a66@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [bcachefs?] kernel BUG in vfs_get_tree
Date: Wed, 25 Sep 2024 09:26:02 +0800 [thread overview]
Message-ID: <tencent_08982ECAAEE20C9E67D106F812CF067E8906@qq.com> (raw)
In-Reply-To: <66f33aad.050a0220.457fc.0030.GAE@google.com>
db
#syz test
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c
index 4a1bb07a2574..49d711e9837e 100644
--- a/fs/bcachefs/fs.c
+++ b/fs/bcachefs/fs.c
@@ -2148,6 +2148,7 @@ static int bch2_fs_get_tree(struct fs_context *fc)
out:
fc->root = dget(sb->s_root);
err:
+ pr_info("ret: %d, sb: %p, fc: %p, fcroot: %p, %s\n", ret, sb, fc, fc->root, __func__);
darray_exit(&devs_to_fs);
bch2_darray_str_exit(&devs);
if (ret)
diff --git a/fs/bcachefs/recovery.c b/fs/bcachefs/recovery.c
index be1e7ca4362f..12835c0290f8 100644
--- a/fs/bcachefs/recovery.c
+++ b/fs/bcachefs/recovery.c
@@ -849,6 +849,7 @@ int bch2_fs_recovery(struct bch_fs *c)
atomic64_add(1 << 16, &c->key_version);
ret = read_btree_roots(c);
+ pr_info("ret: %d, %s\n", ret, __func__);
if (ret)
goto err;
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c
index 873e4be7e1dc..9fb45c7e7063 100644
--- a/fs/bcachefs/super.c
+++ b/fs/bcachefs/super.c
@@ -1011,6 +1011,7 @@ int bch2_fs_start(struct bch_fs *c)
mutex_lock(&c->sb_lock);
ret = bch2_sb_members_v2_init(c);
+ pr_info("ret: %d, %s\n", ret, __func__);
if (ret) {
mutex_unlock(&c->sb_lock);
goto err;
@@ -1036,6 +1037,7 @@ int bch2_fs_start(struct bch_fs *c)
ret = BCH_SB_INITIALIZED(c->disk_sb.sb)
? bch2_fs_recovery(c)
: bch2_fs_initialize(c);
+ pr_info("2ret: %d, %s\n", ret, __func__);
if (ret)
goto err;
next prev parent reply other threads:[~2024-09-25 1:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-21 21:35 [syzbot] [bcachefs?] [jfs?] " syzbot
2024-09-24 22:18 ` [syzbot] [bcachefs?] " syzbot
2024-09-25 0:23 ` Edward Adam Davis
2024-09-25 0:41 ` syzbot
2024-09-25 1:26 ` Edward Adam Davis [this message]
2024-09-25 1:42 ` syzbot
2024-09-25 12:09 ` Edward Adam Davis
2024-09-25 12:26 ` syzbot
2024-09-25 12:42 ` Edward Adam Davis
2024-09-25 12:53 ` syzbot
2024-09-25 13:01 ` Edward Adam Davis
2024-09-25 13:26 ` syzbot
2024-09-25 13:53 ` [PATCH] bcachefs: return the error code instead of the return value of IS_ERR_OR_NULL Edward Adam Davis
2024-09-25 15:20 ` Kent Overstreet
2024-09-25 7:24 ` [syzbot] [bcachefs?] kernel BUG in vfs_get_tree syzbot
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=tencent_08982ECAAEE20C9E67D106F812CF067E8906@qq.com \
--to=eadavis@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+c0360e8367d6d8d04a66@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/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
all inboxes | Powered by JetHome®