]> git.neil.brown.name Git - mdadm.git/commit
super1: make the check for NodeNumUpdate more accurate
authorGuoqing Jiang <gqjiang@suse.com>
Mon, 9 May 2016 02:22:58 +0000 (10:22 +0800)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 9 May 2016 18:59:59 +0000 (14:59 -0400)
commitbbc24bb35020793b9e6fa2111b15882f0dbfe36e
treeaae1f0873f7c7ac75a21bb839a52d6963962af14
parent261b57fe219f7ebd37cf903c3696e9ea558536eb
super1: make the check for NodeNumUpdate more accurate

We missed to check the version is BITMAP_MAJOR_CLUSTERED
or not, otherwise mdadm can't create array with other 1.x
metadatas (1.0 and 1.1).

Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
super1.c