Skip to content

fs: btrfs: Introduce deleting subvolume by subvolid

Marcos Paulo de Souza linux-btrfs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: ioctl: Move the subvolume deleter code into a new functionfs/btrfs/ioctl.c+39 -270 replies
2/2btrfs: Introduce new BTRFS_IOC_SNAP_DESTROY_V2 ioctlfs/btrfs/ctree.h fs/btrfs/export.c fs/btrfs/ioctl.c +2 more+74 -53 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: Marcos Paulo de Souza <[email protected]>

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(-)
Signature · 1 line
2.24.0