On 2019/4/12 下午11:46, David Sterba wrote:
> On Thu, Apr 04, 2019 at 02:45:29PM +0800, Qu Wenruo wrote:
>> +struct btrfs_ref {
>> + enum btrfs_ref_type type;
>> + int action;
>> +
>> + /*
>> + * Only use parent pointers as backref (SHARED_BLOCK_REF or
>> + * SHARED_DATA_REF) for this extent and its children.
>> + * Set for reloc trees.
>> + */
>> + bool only_backreferences:1;
>
> I renamed this to only_backrefs and was surprised that there were no
> compilation errors, ie. this member is not used at all ...
Yep, for callers who really uses this member, they just set @parent, and
that's all.
Thanks,
Qu
Attachment:
signature.asc
Description: OpenPGP digital signature
