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]
Date:	Tue, 15 May 2007 13:43:33 -0700
From:	Mingming Cao <cmm@...ibm.com>
To:	tytso@....edu, ext4 <linux-ext4@...r.kernel.org>
Subject: [PATCH] enable extents mount option by default in ext4

Turn on extents feature by default in ext4 filesystem. User could use
-o noextents to turn it off.

Signed-Off-By: Mingming Cao <cmm@...ibm.com>

Index: linux-2.6.21.1/fs/ext4/super.c
===================================================================
--- linux-2.6.21.1.orig/fs/ext4/super.c	2007-05-11 16:33:10.000000000 -0700
+++ linux-2.6.21.1/fs/ext4/super.c	2007-05-11 16:34:50.000000000 -0700
@@ -1549,6 +1549,12 @@
 
 	set_opt(sbi->s_mount_opt, RESERVATION);
 
+	/*
+	 * turn on extents feature by default in ext4 filesystem
+	 * User -o noextents to turn it off
+	 */
+	set_opt (sbi->s_mount_opt, EXTENTS);
+
 	if (!parse_options ((char *) data, sb, &journal_inum, &journal_devnum,
 			    NULL, 0))
 		goto failed_mount;


-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ