Skip to content

btrfs: perform a minor cleanup in btrfs_search_path_in_tree()

Burenchev Evgenii linux-btrfs lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- split into two patches as requested

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: remove dead assignment to dirid in btrfs_search_path_in_tree()fs/btrfs/ioctl.c+0 -10 replies
2/2btrfs: initialize ret at declaration and remove redundant assignmentfs/btrfs/ioctl.c+1 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] btrfs: perform a minor cleanup in btrfs_search_path_in_tree()

Related discussion: https://lore.kernel.org/linux-btrfs/[email protected]

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(-)
Signature · 1 line
2.43.0