Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7e2932
)
mke2fs: fix handling of mmp_update_interval option
author
Gregoire Pichon
<gregoire.pichon@bull.net>
Wed, 17 Oct 2012 14:57:32 +0000
(16:57 +0200)
committer
Theodore Ts'o
<tytso@mit.edu>
Sun, 16 Dec 2012 03:36:37 +0000
(22:36 -0500)
Make sure the s_mmp_update_interval super block field is set
from the file system parameters block which is passed into the
ext2fs_initialize() function.
Addresses-Lustre-Bug: LU-1888
Signed-off-by: Gregoire Pichon <gregoire.pichon@bull.net>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/initialize.c
patch
|
blob
|
history
diff --git
a/lib/ext2fs/initialize.c
b/lib/ext2fs/initialize.c
index
3567722
..
b0c15d2
100644
(file)
--- a/
lib/ext2fs/initialize.c
+++ b/
lib/ext2fs/initialize.c
@@
-241,6
+241,8
@@
errcode_t ext2fs_initialize(const char *name, int flags,
goto cleanup;
}
+ set_field(s_mmp_update_interval, 0);
+
/*
* If we're creating an external journal device, we don't need
* to bother with the rest.