On 2020/5/7 上午1:27, Johannes Thumshirn wrote: > On 05/05/2020 02:02, Qu Wenruo wrote: >> - Use btrfs_block_group::length to replace key::offset >> Since skinny block group item would have a different meaning for its >> key offset. > > Nope, you still use key->offset for cache->length That's no problem for regular block group item, as in that case key->offset is block group length. It looks like the sentence is not clear enough, what I mean is, after read_block_group_item(), there shouldn't be any key->offset user, but use block_group->length instead. Thanks, Qu > >> + >> + cache->start = key->objectid; >> + cache->length = key->offset; >
Attachment:
signature.asc
Description: OpenPGP digital signature
