]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Assemble.c
fix bug in assemble
authorSong Liu <songliubraving@fb.com>
Tue, 8 Dec 2015 01:08:39 +0000 (17:08 -0800)
committerNeilBrown <neilb@suse.com>
Tue, 8 Dec 2015 20:35:50 +0000 (07:35 +1100)
commitdbfbca430080de55ce70ba1fcdec44173a0ddc02
treed73559c6df54301e4b5b272767d246a0d62968d7
parent198d54787c89872bc72d2824ba3c9d1a783e31ae
fix bug in assemble

In Assemble, getinfo_super() over-writes journal_clean.  To
ensure correct journal_clean, keep it in a local variable
before getinfo_super().

Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Assemble.c