On 2018/05/15 17:03, Nikolay Borisov wrote: > > > 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? Yes, I want to skip xfstest if the feature does not exist. > >> >> 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
