Re: [PATCH 0/2] btrfs: sysfs: Add entry which shows rmdir(2) can work for subvolume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 15.05.2018 10:30, Misono Tomohiro wrote:
> [based on current misc-next]
> 
> This adds new sysfs entry
>   /sys/fs/btrfs/features/rmdir_subvol
> to indicate that the kernel can delete a subvolume by rmdir(2),
> which is allowed by: https://www.spinics.net/lists/linux-btrfs/msg76938.html
> 
> The first patch is a cleanup and the second one is a main part.

Why do we need this - for enabling testing or something else?

> 
> Tomohiro Misono (2):
>   btrfs: sysfs: Use enum/define value intead of magic number
>   btrfs: sysfs: Add entry which shows rmdir(2) can work for subvolume
> 
>  fs/btrfs/ctree.h           |  6 ++++++
>  fs/btrfs/sysfs.c           | 39 +++++++++++++++++++++++++++++----------
>  fs/btrfs/sysfs.h           |  5 ++++-
>  include/uapi/linux/btrfs.h |  2 ++
>  4 files changed, 41 insertions(+), 11 deletions(-)
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux