Skip to content

Commit

Permalink
btrfs-progs: docs: fix chunk_items section link.
Browse files Browse the repository at this point in the history
Corrected section link to new format. Old format are copied from wiki
which introduced by the inital commit.

Signed-off-by: HAN Yuwei <[email protected]>
  • Loading branch information
hanyuwei70 committed Oct 15, 2024
1 parent b166bd7 commit e985eed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Documentation/dev/On-disk-format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ TODO
| 0x23b | 0xf0 | | reserved /\* future expansion \*/ |
+--------+-------+-------+-------------------------------------------------------------------------+
| 0x2b | 0x800 | | sys_chunk_array:(*n* bytes valid) Contains (KEY, |
| | | | `CHUNK_ITEM <#CHUNK_ITEM_.28e4.29>`__) pairs for all SYSTEM chunks. |
| | | | :ref:`CHUNK_ITEM<CHUNK_ITEM_CONTENT>`) pairs for all SYSTEM chunks. |
| | | | This is needed to bootstrap the mapping from logical addresses to |
| | | | physical. |
+--------+-------+-------+-------------------------------------------------------------------------+
Expand Down Expand Up @@ -412,7 +412,7 @@ Reserved objectids

This objectid indicates the first available objectid in this ``CHUNK_TREE``. In practice, it is
the only objectid used in the tree. The ``offset`` field of the key is the only component used to
distinguish separate ```CHUNK_ITEM`` <#CHUNK_ITEM>`__ items.
distinguish separate :ref:`CHUNK_ITEM<CHUNK_ITEM_CONTENT>` items.


Dev tree (4)
Expand Down Expand Up @@ -1074,6 +1074,7 @@ Off Size Type Description
===== ==== ==== ==============================


.. _CHUNK_ITEM_CONTENT:
CHUNK_ITEM (0xe4)
^^^^^^^^^^^^^^^

Expand Down

0 comments on commit e985eed

Please sign in to comment.