Skip to content

btrfs-progs: fix clone from wrong subvolume

Omar Sandoval linux-btrfs 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 patches 2 repliesIn review
  2. v2 posting 1/24 patches 8 repliesSuperseded
  3. v12 patches 5 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs-progs: receive: remove commented out transid checkscmds/receive.c+0 -251 reply
2/3btrfs-progs: receive: don't lookup clone root for received subvolumecmds/receive.c+8 -100 replies
3/3btrfs-progs: tests: add test for receiving clone from duplicate subvolumetests/misc-tests/038-receive-clone-from-current-subvolume/test.sh+34 -01 reply

Reviews trailers per patch

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

PatchFilipe Manana
1/3R-b
2/3R-b
3/3R-b

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

Read the v2 thread

Cover letter [PATCH RESEND v2 0/3] btrfs-progs: fix clone from wrong subvolume

From: Omar Sandoval <[email protected]>

Hi,

This is a resend of [1] from last July fixing a bug when the same subvolume is received multiple times. It appears that the series got lost at some point.

The only changes from v2 are adding Filipe's reviewed-bys and removing the strdup cleanup patch that was already merged. Based on the devel branch.

Thanks!

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

Omar Sandoval (3):
btrfs-progs: receive: remove commented out transid checks
btrfs-progs: receive: don't lookup clone root for received subvolume
btrfs-progs: tests: add test for receiving clone from duplicate
subvolume

 cmds/receive.c                                | 43 ++++---------------
 .../test.sh                                   | 34 +++++++++++++++
 2 files changed, 42 insertions(+), 35 deletions(-)
 create mode 100755 tests/misc-tests/038-receive-clone-from-current-subvolume/test.sh
Signature · 1 line
2.25.1