lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20241030123126.16531-1-surajsonawane0215@gmail.com>
Date: Wed, 30 Oct 2024 18:01:26 +0530
From: Suraj Sonawane <surajsonawane0215@...il.com>
To: mikulas@...ax.karlin.mff.cuni.cz
Cc: linux-kernel@...r.kernel.org,
	Suraj Sonawane <surajsonawane0215@...il.com>
Subject: [PATCH] fs: hpfs: fix inconsistent indentation in hpfs_write_inode_ea

Fix the indentation to ensure consistent code style and improve
readability, and to fix this warning:

fs/hpfs/inode.c:153 hpfs_write_inode_ea() warn: inconsistent indenting

Signed-off-by: Suraj Sonawane <surajsonawane0215@...il.com>
---
 fs/hpfs/inode.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fs/hpfs/inode.c b/fs/hpfs/inode.c
index a59e8fa63..0aacad6b4 100644
--- a/fs/hpfs/inode.c
+++ b/fs/hpfs/inode.c
@@ -150,7 +150,8 @@ static void hpfs_write_inode_ea(struct inode *i, struct fnode *fnode)
 		   Some unknown structures like ACL may be in fnode,
 		   we'd better not overwrite them
 		hpfs_error(i->i_sb, "fnode %08x has some unknown HPFS386 structures", i->i_ino);
-	} else*/ if (hpfs_sb(i->i_sb)->sb_eas >= 2) {
+	} else*/
+	if (hpfs_sb(i->i_sb)->sb_eas >= 2) {
 		__le32 ea;
 		if (!uid_eq(i->i_uid, hpfs_sb(i->i_sb)->sb_uid) || hpfs_inode->i_ea_uid) {
 			ea = cpu_to_le32(i_uid_read(i));
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ