From 108633a131cb297b76e982c92af59a201313bdb9 Mon Sep 17 00:00:00 2001 From: Gregoire Pichon Date: Wed, 17 Oct 2012 16:57:32 +0200 Subject: [PATCH] LU-1888 mke2fs: fix handling of mmp_update_interval option Fix ext2fs_initialize() to ensure specified mmp_update_interval option is taken into account at filesystem creation. Signed-off-by: Gregoire Pichon Change-Id: I79a5dbb622117eb73bc27bef6f5a04504b45da54 --- lib/ext2fs/initialize.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ext2fs/initialize.c b/lib/ext2fs/initialize.c index 3567722..b0c15d2 100644 --- 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. -- 1.8.3.1