mbox series

[0/3] btrfs-progs: use libbtrfsutil for subvolume creation

Message ID 20240628145807.1800474-1-maharmstone@fb.com (mailing list archive)
Headers show
Series btrfs-progs: use libbtrfsutil for subvolume creation | expand

Message

Mark Harmstone June 28, 2024, 2:56 p.m. UTC
From: Mark Harmstone <maharmstone@meta.com>

These patches are a resending of Omar Sandoval's patch from 2018, which
appears to have been overlooked [0], split up and rebased against the
current code.

We change btrfs subvol create and btrfs subvol snapshot so that they use
libbtrfsutil rather than calling the ioctl directly.

[0] https://lore.kernel.org/linux-btrfs/ab09ba595157b7fb6606814730508cae4da48caf.1516991902.git.osandov@fb.com/

Omar Sandoval (3):
  btrfs-progs: remove unused qgroup functions
  btrfs-progs: use libbtrfsutil for btrfs subvolume create
  btrfs-progs: use libbtrfsutil for btrfs subvolume snapshot

 cmds/qgroup.c    |  64 -------------
 cmds/qgroup.h    |   2 -
 cmds/subvolume.c | 227 ++++++++++++++++++-----------------------------
 3 files changed, 86 insertions(+), 207 deletions(-)