Skip to contentSkip to conversation

fs: hpfs: fix inconsistent indentation in hpfs_write_inode_ea

PATCH New Suraj Sonawane 1 participant 1 message Oct 30, 2024 Hpfs filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 fs/hpfs/inode.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
fs/hpfs/inode.c +2 -1
index a59e8fa63..0aacad6b4 100644
@@ -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));
Signature · 1 line
2.34.1