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

2018-05-16 Thread Misono Tomohiro
On 2018/05/15 22:22, David Sterba wrote: > On Tue, May 15, 2018 at 04:33:12PM +0900, Misono Tomohiro wrote: >> Deletion of a subvolume by rmdir(2) has become allowed by the >> 'commit cd2decf640b1 ("btrfs: Allow rmdir(2) to delete an empty >> subvolume")'. >> >> It is a kind of new feature and this

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

2018-05-15 Thread David Sterba
On Tue, May 15, 2018 at 04:33:12PM +0900, Misono Tomohiro wrote: > Deletion of a subvolume by rmdir(2) has become allowed by the > 'commit cd2decf640b1 ("btrfs: Allow rmdir(2) to delete an empty > subvolume")'. > > It is a kind of new feature and this commits add new sysfs entry > /sys/fs/btrfs/

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

2018-05-15 Thread Misono Tomohiro
Deletion of a subvolume by rmdir(2) has become allowed by the 'commit cd2decf640b1 ("btrfs: Allow rmdir(2) to delete an empty subvolume")'. It is a kind of new feature and this commits add new sysfs entry /sys/fs/btrfs/features/rmdir_subvol to indicate the feature. Since the behavior is indepen