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  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 19 Mar 2012 14:50:48 +0200
From:	Artem Bityutskiy <>
To:	Ted Tso <>
Cc:	Ext4 Mailing List <>,
	Linux FS Maling List <>
Subject: [PATCH] ext4: remove useless s_dirt assignment

From: Artem Bityutskiy <>

Clean-up ext4 a tiny bit by removing useless s_dirt assignment in
'ext4_fill_super()' because a bit later we anyway call 'ext4_setup_super()'
which writes the superblock to the media unconditionally.

I would not bother removing the assignment, but I am prepare the code for
further s_dirt clean-ups.

Signed-off-by: Artem Bityutskiy <>
 fs/ext4/super.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index c1f5111..d280bb6 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -3415,7 +3415,6 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
 		es->s_flags |= cpu_to_le32(EXT2_FLAGS_SIGNED_HASH);
-		sb->s_dirt = 1;
 	/* Handle clustersize */

To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists