blob: 8efeb6a44e9963d4ea5ebdb164ab34cccefb0af8 [file] [log] [blame]
From: Phillip Lougher <phillip@squashfs.org.uk>
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@squashfs.org.uk
Reported-by: "Ubisectech Sirius" <bugreport@ubisectech.com>
Closes: https://lore.kernel.org/lkml/87f5c007-b8a5-41ae-8b57-431e924c5915.bugreport@ubisectech.com/
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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);
_