Displaying 1 result from an estimated 1 matches for "btrfs_snapshot_writable".
2010 Nov 30
1
R: Re: [PATCH 5/5] btrfs: Add ioctl to set snapshot readonly/writable
...interested to put in the "root" of a subvolume: think about
>> compress/nocompress, (no)datasum...)
>> - For the reason abowe, I suggest to replace SNAPSHOT with SUBVOLUME
>> - Finally, with a pair of get/set_flags functions we can avoid the use of
the
>> flags BTRFS_SNAPSHOT_WRITABLE.
>>
>
>There are some reasons that I created this interface:
>
>- set/getflags should set/get root flags which reflect in struct
>btrfs_root_item->flags.
>
>- btrfs_root_item->flags was not used at all before this patch, so
>(no)compress and (no)datasum is not r...