[0/2] btrfs-progs: fix clone from wrong subvolume
mbox series

Message ID cover.1563600688.git.osandov@fb.com
Headers show
  • btrfs-progs: fix clone from wrong subvolume
Related show


Omar Sandoval July 20, 2019, 5:39 a.m. UTC
From: Omar Sandoval <osandov@fb.com>


This series is a couple of minor fixes to btrfs receive. Patch 1 fixes a
missing strdup() return value check by getting rid of the strdup().
Patch 2 (the more important one) fixes a receive error when the same
subvolume is received multiple times.


Omar Sandoval (2):
  btrfs-progs: receive: get rid of unnecessary strdup()
  btrfs-progs: receive: don't lookup clone root for received subvolume

 cmds/receive.c | 41 +++++++++++------------------------------
 1 file changed, 11 insertions(+), 30 deletions(-)