Skip to content

btrfs: fix for btrfs_prev_leaf() and unexport it

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: fix btrfs_prev_leaf() to not return the same key twicefs/btrfs/ctree.c+31 -13 replies
2/2btrfs: unexport btrfs_prev_leaf()fs/btrfs/ctree.c fs/btrfs/ctree.h+81 -811 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJosef BacikAnand Jain
SeriesR-b
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] btrfs: fix for btrfs_prev_leaf() and unexport it

From: Filipe Manana <[email protected]>

A fix for btrfs_prev_leaf() where due to races with concurrent insertions, can return the same key again, and unexport it since it's not used outside ctree.c. More details on the individual changelogs.

Filipe Manana (2):
btrfs: fix btrfs_prev_leaf() to not return the same key twice
btrfs: unexport btrfs_prev_leaf()

 fs/btrfs/ctree.c | 131 +++++++++++++++++++++++++++++------------------
 fs/btrfs/ctree.h |   1 -
 2 files changed, 81 insertions(+), 51 deletions(-)
Signature · 1 line
2.34.1