The patch titled Subject: squashfs-check-the-inode-number-is-not-the-invalid-value-of-zero-v2 has been added to the -mm mm-hotfixes-unstable branch. Its filename is squashfs-check-the-inode-number-is-not-the-invalid-value-of-zero-v2.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/squashfs-check-the-inode-number-is-not-the-invalid-value-of-zero-v2.patch This patch will later appear in the mm-hotfixes-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Phillip Lougher <phillip@xxxxxxxxxxxxxxx> Subject: squashfs-check-the-inode-number-is-not-the-invalid-value-of-zero-v2 Date: Tue, 9 Apr 2024 21:47:23 +0100 whitespace fix Link: https://lkml.kernel.org/r/20240409204723.446925-1-phillip@xxxxxxxxxxxxxxx Reported-by: "Ubisectech Sirius" <bugreport@xxxxxxxxxxxxxx> Closes: https://lore.kernel.org/lkml/87f5c007-b8a5-41ae-8b57-431e924c5915.bugreport@xxxxxxxxxxxxxx/ Signed-off-by: Phillip Lougher <phillip@xxxxxxxxxxxxxxx> Cc: Christian Brauner <brauner@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/squashfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/squashfs/inode.c~squashfs-check-the-inode-number-is-not-the-invalid-value-of-zero-v2 +++ a/fs/squashfs/inode.c @@ -49,7 +49,7 @@ static int squashfs_new_inode(struct sup int err; inode->i_ino = le32_to_cpu(sqsh_ino->inode_number); - if(inode->i_ino == 0) + if (inode->i_ino == 0) return -EINVAL; err = squashfs_get_id(sb, le16_to_cpu(sqsh_ino->uid), &i_uid); _ Patches currently in -mm which might be from phillip@xxxxxxxxxxxxxxx are squashfs-check-the-inode-number-is-not-the-invalid-value-of-zero.patch squashfs-check-the-inode-number-is-not-the-invalid-value-of-zero-v2.patch squashfs-remove-deprecated-strncpy-by-not-copying-the-string.patch