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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 11 Nov 2008 19:43:01 -0800
From:	Valerie Aurora Henson <vaurora@...hat.com>
To:	linux-ext4@...r.kernel.org
Cc:	Valerie Aurora Henson <vaurora@...hat.com>
Subject: [RFC PATCH 08/17] Turn on new bitmaps in e2fsck and mke2fs

Signed-off-by: Valerie Aurora Henson <vaurora@...hat.com>
---
 e2fsck/unix.c |    2 +-
 misc/mke2fs.c |    5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/e2fsck/unix.c b/e2fsck/unix.c
index 07549b9..bb379f3 100644
--- a/e2fsck/unix.c
+++ b/e2fsck/unix.c
@@ -956,7 +956,7 @@ restart:
 #else
 	io_ptr = unix_io_manager;
 #endif
-	flags = EXT2_FLAG_NOFREE_ON_ERROR;
+	flags = EXT2_FLAG_NOFREE_ON_ERROR | EXT2_FLAG_NEW_BITMAPS;
 	if ((ctx->options & E2F_OPT_READONLY) == 0)
 		flags |= EXT2_FLAG_RW;
 	if ((ctx->mount_flags & EXT2_MF_MOUNTED) == 0)
diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index 7c35317..4509c1a 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -1868,8 +1868,9 @@ int main (int argc, char *argv[])
 	/*
 	 * Initialize the superblock....
 	 */
-	retval = ext2fs_initialize(device_name, EXT2_FLAG_EXCLUSIVE, &fs_param,
-				   io_ptr, &fs);
+	retval = ext2fs_initialize(device_name,
+				   EXT2_FLAG_EXCLUSIVE | EXT2_FLAG_NEW_BITMAPS,
+				   &fs_param, io_ptr, &fs);
 	if (retval) {
 		com_err(device_name, retval, _("while setting up superblock"));
 		exit(1);
-- 
1.5.6.5

--
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