diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-08-31 19:16:57 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-08-31 19:19:06 +0200 |
commit | 1ede6221fa3931ed2e8efc4ea28ee69fbabc2481 (patch) | |
tree | 6ff2741a5d467b3da94163ab83b53379db8166f3 /doc | |
parent | 61ead1d27806801fa0b4f4501938c3d044f776fc (diff) |
Fix: documentation: directory header inode number signedness
A directory listing starts with a header that specifies a reference
inode number. Each entry then specifies a difference from that
reference value.
While the difference is _signed_, the reference value is _unsigned_.
This is handled correctly in the code, but was pointent out wrongly
in the documentation.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/format.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/format.adoc b/doc/format.adoc index f81b6f8..f5d676e 100644 --- a/doc/format.adoc +++ b/doc/format.adoc @@ -817,7 +817,7 @@ The directory header has the following structure: | u32 | start | The location of the metadata block in the inode table where the inodes are stored. This is relative to the inode table start from the super block. -| s32 | inode number | An arbitrary inode number. The entries that follow +| u32 | inode number | An arbitrary inode number. The entries that follow store their inode number as a difference to this. |=== |