diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2016-03-24 18:00:35 +0800 |
---|---|---|
committer | Jes Sorensen <Jes.Sorensen@redhat.com> | 2016-03-24 12:33:27 -0400 |
commit | 81306e021ebdcc4baef866da82d25c3f0a415d2d (patch) | |
tree | c22211c20b5799cc509c00c3c2123a3b9445f2c4 /super1.c | |
parent | 0c79d8ca10fe26d6117aa413a4d1854eec5aa430 (diff) | |
download | mdadm-81306e021ebdcc4baef866da82d25c3f0a415d2d.tar.gz |
Change the option from NoUpdate to NodeNumUpdate
Actually, we need to use NodeNumUpdate here to
ensure there are enough spaces for those nodes.
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Diffstat (limited to 'super1.c')
-rw-r--r-- | super1.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1867,7 +1867,7 @@ static int write_init_super1(struct supertype *st) } if (rv == 0 && (__le32_to_cpu(sb->feature_map) & 1)) - rv = st->ss->write_bitmap(st, di->fd, NoUpdate); + rv = st->ss->write_bitmap(st, di->fd, NodeNumUpdate); close(di->fd); di->fd = -1; if (rv) |