From 1ede6221fa3931ed2e8efc4ea28ee69fbabc2481 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 31 Aug 2022 19:16:57 +0200 Subject: 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 --- doc/format.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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. |=== -- cgit v1.2.3