mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] fs: btrfs: Introduce deleting subvolume by subvolid
@ 2020-01-11  4:39 Marcos Paulo de Souza
  2020-01-11  4:39 ` [PATCH 1/2] btrfs: ioctl: Move the subvolume deleter code into a new function Marcos Paulo de Souza
  2020-01-11  4:39 ` [PATCH 2/2] btrfs: Introduce new BTRFS_IOC_SNAP_DESTROY_V2 ioctl Marcos Paulo de Souza
  0 siblings, 2 replies; 6+ messages in thread
From: Marcos Paulo de Souza @ 2020-01-11  4:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: dsterba, linux-btrfs, Marcos Paulo de Souza, wqu

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

-- 
2.24.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-14  2:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-11  4:39 [PATCH 0/2] fs: btrfs: Introduce deleting subvolume by subvolid Marcos Paulo de Souza
2020-01-11  4:39 ` [PATCH 1/2] btrfs: ioctl: Move the subvolume deleter code into a new function Marcos Paulo de Souza
2020-01-11  4:39 ` [PATCH 2/2] btrfs: Introduce new BTRFS_IOC_SNAP_DESTROY_V2 ioctl Marcos Paulo de Souza
2020-01-13 17:37   ` Josef Bacik
2020-01-14  2:31     ` Marcos Paulo de Souza
2020-01-14  2:40       ` Josef Bacik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®