[PATCH 0/2] fs: btrfs: Introduce deleting subvolume by subvolid

From: Marcos Paulo de Souza
Date: Fri Jan 10 2020 - 23:42:52 EST


From: Marcos Paulo de Souza <mpdesouza@xxxxxxxx>

The first patch separates the subvolume lookup and deletion into a new function,
and second only get the dentry related to the subvolume id and calls this
function.

Please let me know if these patches need improvement. Thanks!

Marcos Paulo de Souza (2):
btrfs: ioctl: Move the subvolume deleter code into a new function
btrfs: Introduce new BTRFS_IOC_SNAP_DESTROY_V2 ioctl

fs/btrfs/ctree.h | 8 +++
fs/btrfs/export.c | 4 +-
fs/btrfs/ioctl.c | 119 ++++++++++++++++++++++++++++---------
fs/btrfs/super.c | 2 +-
include/uapi/linux/btrfs.h | 12 +++-
5 files changed, 113 insertions(+), 32 deletions(-)

--
2.24.0