mbox series

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

Message ID 20200111043942.15366-1-marcos.souza.org@gmail.com (mailing list archive)
Headers show
Series fs: btrfs: Introduce deleting subvolume by subvolid | expand

Message

Marcos Paulo de Souza Jan. 11, 2020, 4:39 a.m. UTC
From: Marcos Paulo de Souza <mpdesouza@suse.com>

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(-)