Linux filesystem development
 help / color / mirror / Atom feed
* [PATCH] squashfs: fix inode number description in documentation
@ 2026-09-08 13:01 Ray Lee
  2026-09-10  8:12 ` Christian Brauner
  0 siblings, 1 reply; 2+ messages in thread
From: Ray Lee @ 2026-09-08 13:01 UTC (permalink / raw)
  To: phillip; +Cc: squashfs-devel, linux-fsdevel, Ray Lee

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.

Signed-off-by: Ray Lee <hburaylee@gmail.com>
---
 Documentation/filesystems/squashfs.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/filesystems/squashfs.rst b/Documentation/filesystems/squashfs.rst
index 45653b3228f9..d6397961d16b 100644
--- a/Documentation/filesystems/squashfs.rst
+++ b/Documentation/filesystems/squashfs.rst
@@ -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
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] squashfs: fix inode number description in documentation
  2026-09-08 13:01 [PATCH] squashfs: fix inode number description in documentation Ray Lee
@ 2026-09-10  8:12 ` Christian Brauner
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Brauner @ 2026-09-10  8:12 UTC (permalink / raw)
  To: phillip, Ray Lee; +Cc: squashfs-devel, linux-fsdevel

On Tue, 08 Sep 2026 21:01:03 +0800, Ray Lee wrote:
> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-10  8:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-08 13:01 [PATCH] squashfs: fix inode number description in documentation Ray Lee
2026-09-10  8:12 ` Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox