Skip to contentSkip to conversation

squashfs: fix inode number description in documentation

PATCH Applied Ray Lee 2 participants 3 messages Sep 8 – Sep 13

Subsystems (3)
lore
Share & tools
lore

Ray Lee

author
#0 lore raw

PATCH 1/1 squashfs: fix inode number description in documentation

The documentation incorrectly described the inode identifier as a 48-bit number. In reality it is a 64-bit integer where the upper 48 bits hold the location of the compressed metadata block and the lower 16 bits hold the byte offset into the uncompressed block.

---
 Documentation/filesystems/squashfs.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/filesystems/squashfs.rst +3 -3
index 45653b3228f9..d6397961d16b 100644
@@ -177,9 +177,9 @@ or if the compressed block was larger than the uncompressed block.
 
 Inodes are packed into the metadata blocks, and are not aligned to block
 boundaries, therefore inodes overlap compressed blocks.  Inodes are identified
-by a 48-bit number which encodes the location of the compressed metadata block
-containing the inode, and the byte offset into that block where the inode is
-placed (<block, offset>).
+by a 64-bit number: the upper 48 bits encode the location of the compressed
+metadata block containing the inode, and the lower 16 bits give the byte offset
+into that block where the inode is placed (<block, offset>).
 
 To maximise compression there are different inodes for each file type
 (regular file, directory, device, etc.), the inode contents and length
Signature · 1 line
2.53.0
maintainer Applied
#1 lore raw
Quoted 1 line · Ray Lee

squashfs: fix inode number description in documentation

Applied to the vfs-7.4.misc branch of the vfs/vfs.git tree. Patches in the vfs-7.4.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.4.misc

[1/1] squashfs: fix inode number description in documentation

      https://git.kernel.org/vfs/vfs/c/bfe240aab4a1
author
#2 lore raw
Quoted 17 lines · On Thu, 10 Sep 2026 10:12:45 +0200 Christian Brauner <[email protected]> wrote:
Quoted 1 line · Ray Lee

squashfs: fix inode number description in documentation

Applied to the vfs-7.4.misc branch of the vfs/vfs.git tree. Patches in the vfs-7.4.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch.

Quoted 6 lines
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.4.misc

[1/1] squashfs: fix inode number description in documentation

      https://git.kernel.org/vfs/vfs/c/bfe240aab4a1

Thanks for applying!