Re: [PATCH] fs/squashfs: Fix some hardlinks reading the wrong inode

2021-08-04 Thread Tom Rini
On Fri, Apr 30, 2021 at 04:45:46PM +1200, Campbell Suter wrote: > In SquashFS, the contents of a directory is stored by > squashfs_directory_entry structures which contain the file's name, inode > and position within the filesystem. > > The inode number is not stored directly; instead each direct

Re: [PATCH] fs/squashfs: Fix some hardlinks reading the wrong inode

2021-05-04 Thread Miquel Raynal
Hello, Campbell Suter wrote on Fri, 30 Apr 2021 16:45:46 +1200: > In SquashFS, the contents of a directory is stored by > squashfs_directory_entry structures which contain the file's name, inode > and position within the filesystem. > > The inode number is not stored directly; instead each dire

[PATCH] fs/squashfs: Fix some hardlinks reading the wrong inode

2021-04-30 Thread Campbell Suter
In SquashFS, the contents of a directory is stored by squashfs_directory_entry structures which contain the file's name, inode and position within the filesystem. The inode number is not stored directly; instead each directory has one or more headers which set a base inode number, and files store