[lvc-project] [PATCH v2 0/2] btrfs: perform a minor cleanup in btrfs_search_path_in_tree()

Burenchev Evgenii EBurenchev at orionsoft.ru
Wed Feb 25 15:44:31 MSK 2026


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



More information about the lvc-project mailing list