mbox series

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

Message ID cover.1583914311.git.osandov@fb.com (mailing list archive)
Headers show
Series btrfs-progs: fix clone from wrong subvolume | expand

Message

Omar Sandoval March 11, 2020, 8:17 a.m. UTC
From: Omar Sandoval <osandov@fb.com>

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/cover.1563822638.git.osandov@fb.com/

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