diff options
author | NeilBrown <neilb@suse.com> | 2017-08-04 07:30:02 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-08-16 14:25:07 +0200 |
commit | 6438c249c4fed92cf6e5fb492d19f4c4f516ff6f (patch) | |
tree | fb6af6ee9f65700e96efb82c16c122f5b14b336c /mdadm.c | |
parent | Use correct syntax for passing DEVLINKS to mdadm from udev (diff) | |
download | mdadm-6438c249c4fed92cf6e5fb492d19f4c4f516ff6f.tar.xz mdadm-6438c249c4fed92cf6e5fb492d19f4c4f516ff6f.zip |
super1: only set clustered flag when bitmap is present
If no bitmap is present, then the test
if (__le32_to_cpu(bsb->nodes) > 1)
accesses uninitialised memory. So move that test inside
a test for a bitmap being present.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions