From: Gregoire Pichon Date: Wed, 17 Oct 2012 14:57:32 +0000 (+0200) Subject: LU-1888 mke2fs: fix handling of mmp_update_interval option X-Git-Tag: v1.42.6.wc2~1 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=9eb28404ee7d481404989bba3cccb8b4c99943ca;p=tools%2Fe2fsprogs.git 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 --- 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.