From: David Sterba <dsterba@suse.cz>
To: Zhen Ni <zhen.ni@easystack.cn>
Cc: dsterba@suse.com, Johannes.Thumshirn@wdc.com,
linux-btrfs@vger.kernel.org
Subject: Re: [PATCH v2] btrfs: replace is_data_bbio() with is_data_inode() for direct usage
Date: Mon, 7 Sep 2026 19:41:58 +0200 [thread overview]
Message-ID: <20260907174158.GY9053@twin.jikos.cz> (raw)
In-Reply-To: <20251222035942.1482587-1-zhen.ni@easystack.cn>
On Mon, Dec 22, 2025 at 11:59:42AM +0800, Zhen Ni wrote:
> After commit 81cea6cd7041 ("btrfs: remove btrfs_bio::fs_info by
> extracting it from btrfs_bio::inode"), the btrfs_bio::inode field is
> mandatory for all btrfs_bio allocations. The NULL check is redundant and
> can be removed.
>
> Replace all calls to is_data_bbio() in bio.c
>
> Link: https://lore.kernel.org/linux-btrfs/20251219084316.1164580-1-zhen.ni@easystack.cn
> Suggested-by: Johannes Thumshirn <Johannes.Thumshirn@wdc.com>
> Signed-off-by: Zhen Ni <zhen.ni@easystack.cn>
> ---
> Changes in v2:
> - Replace all calls to is_data_bbio() in bio.c
I haven't noticed you sent v2 with the requested changes, sorry. Now
added to for-next.
prev parent reply other threads:[~2026-09-07 17:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-22 3:59 [PATCH v2] btrfs: replace is_data_bbio() with is_data_inode() for direct usage Zhen Ni
2026-09-07 17:41 ` David Sterba [this message]
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=20260907174158.GY9053@twin.jikos.cz \
--to=dsterba@suse.cz \
--cc=Johannes.Thumshirn@wdc.com \
--cc=dsterba@suse.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=zhen.ni@easystack.cn \
/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