Skip to content

btrfs: fix extent state leaks after device replace

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: fix leak of source device allocation state after device replacefs/btrfs/volumes.c+1 -04 replies
2/2btrfs: make btrfs_free_device() staticfs/btrfs/volumes.c fs/btrfs/volumes.h+1 -22 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchQu WenruoAnand Jain
1/2R-b
2/2R-b R-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 extent state leaks after device replace

From: Filipe Manana <[email protected]>

This fixes a recent regression (on its way to Linus' tree) that results in leaking extent state records in the allocation io tree of a device used as a source device for a device replace. Also unexport btrfs_free_device().

Filipe Manana (2):
btrfs: fix leak of source device allocation state after device replace
btrfs: make btrfs_free_device() static

 fs/btrfs/volumes.c | 3 ++-
 fs/btrfs/volumes.h | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.35.1