lkml.org 
[lkml]   [2020]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] fs: btrfs: Introduce deleting subvolume by subvolid
Date
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

\
 
 \ /
  Last update: 2020-01-11 05:43    [W:0.176 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site