···737737 k->size = new_size;738738}739739740740-/*741741- * In extent_sort_fix_overlapping(), insert_fixup_extent(),742742- * extent_merge_inline() - we're modifying keys in place that are packed. To do743743- * that we have to unpack the key, modify the unpacked key - then this744744- * copies/repacks the unpacked to the original as necessary.745745- */746746-static inline void extent_save(struct btree *b, struct bkey_packed *dst,747747- struct bkey *src)748748-{749749- struct bkey_format *f = &b->format;750750- struct bkey_i *dst_unpacked;751751-752752- if ((dst_unpacked = packed_to_bkey(dst)))753753- dst_unpacked->k = *src;754754- else755755- BUG_ON(!bch2_bkey_pack_key(dst, src, f));756756-}757757-758740#endif /* _BCACHEFS_EXTENTS_H */