From: Burenchev Evgenii <EBurenchev@orionsoft.ru>
To: "dsterba@suse.cz" <dsterba@suse.cz>
Cc: "clm@fb.com" <clm@fb.com>, "dsterba@suse.com" <dsterba@suse.com>,
"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"lvc-project@linuxtesting.org" <lvc-project@linuxtesting.org>,
"mssola@mssola.com" <mssola@mssola.com>,
"fdmanana@kernel.org" <fdmanana@kernel.org>
Subject: [PATCH v2 0/2] btrfs: perform a minor cleanup in btrfs_search_path_in_tree()
Date: Wed, 25 Feb 2026 12:44:31 +0000 [thread overview]
Message-ID: <0ac42b939a6b4a479c2f508e18305873@orionsoft.ru> (raw)
Related discussion: https://lore.kernel.org/linux-btrfs/20260224172835.GB26902@twin.jikos.cz
This series splits the original patch into two logical changes as suggested
during review.
Patch 1 removes an unused dirid assignment that became dead code after the
introduction of btrfs_search_backwards().
Patch 2 performs a small return value cleanup by initializing ret at
declaration and removing a redundant assignment.
Changes since v1:
- split into two patches as requested
Evgenii Burenchev (2):
btrfs: remove dead assignment to dirid in btrfs_search_path_in_tree()
btrfs: btrfs: initialize ret at declaration and remove redundant assignment
fs/btrfs/ioctl.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
--
2.43.0
reply other threads:[~2026-02-25 12:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=0ac42b939a6b4a479c2f508e18305873@orionsoft.ru \
--to=eburenchev@orionsoft.ru \
--cc=clm@fb.com \
--cc=dsterba@suse.com \
--cc=dsterba@suse.cz \
--cc=fdmanana@kernel.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lvc-project@linuxtesting.org \
--cc=mssola@mssola.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®