The extent references v0 have been superseded long time go, there are some unused declarations of access helpers. We can safely remove them now. The struct btrfs_extent_ref_v0 is not used anywhere, but struct btrfs_extent_item_v0 is still part of a backward compatibility check in relocation.c and thus not removed.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -519,15 +519,6 @@ struct btrfs_extent_inline_ref { · 518 unmodified lines | |||
| 519 | __le64 offset; | 519 | __le64 offset; |
| 520 | } __attribute__ ((__packed__)); | 520 | } __attribute__ ((__packed__)); |
| 521 | 521 | ||
| 522 | /* old style backrefs item */ | ||
| 523 | struct btrfs_extent_ref_v0 { | ||
| 524 | __le64 root; | ||
| 525 | __le64 generation; | ||
| 526 | __le64 objectid; | ||
| 527 | __le32 count; | ||
| 528 | } __attribute__ ((__packed__)); | ||
| 529 | |||
| 530 | |||
| 531 | /* dev extents record free space on individual devices. The owner | 522 | /* dev extents record free space on individual devices. The owner |
| 532 | * field points back to the chunk allocation mapping tree that allocated | 523 | * field points back to the chunk allocation mapping tree that allocated |
| 533 | * the extent. The chunk tree uuid field is a way to double check the owner | 524 | * the extent. The chunk tree uuid field is a way to double check the owner |