summaryrefslogtreecommitdiffstats
path: root/mdadm.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-08-04 07:30:02 +0200
committerJes Sorensen <jsorensen@fb.com>2017-08-16 14:25:07 +0200
commit6438c249c4fed92cf6e5fb492d19f4c4f516ff6f (patch)
treefb6af6ee9f65700e96efb82c16c122f5b14b336c /mdadm.c
parentUse correct syntax for passing DEVLINKS to mdadm from udev (diff)
downloadmdadm-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