Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
+2006-03-18 Theodore Ts'o <tytso@mit.edu>
+
+ * mke2fs.c (main): Open the filesystem in exclusive mode while we
+ are initializing it.
+
2005-12-31 Theodore Ts'o <tytso@mit.edu>
* chattr.1.in: Add notes in the man page to make sure the reader
/*
* Initialize the superblock....
*/
- retval = ext2fs_initialize(device_name, 0, &fs_param,
+ retval = ext2fs_initialize(device_name, EXT2_FLAG_EXCLUSIVE, &fs_param,
io_ptr, &fs);
if (retval) {
com_err(device_name, retval, _("while setting up superblock"));