summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-03-19 02:46:37 +0100
committerNeilBrown <neilb@suse.de>2012-03-19 02:46:37 +0100
commit4474ca42e2577563a919fd3ed782e2ec55bf11a2 (patch)
treedb451c8fad37b281ddbf1d00a779257537cc61ff /drivers/md/raid10.c
parentmd: don't set md arrays to readonly on shutdown. (diff)
downloadlinux-4474ca42e2577563a919fd3ed782e2ec55bf11a2.tar.xz
linux-4474ca42e2577563a919fd3ed782e2ec55bf11a2.zip
md/bitmap: ensure to load bitmap when creating via sysfs.
When commit 69e51b449d383e (md/bitmap: separate out loading a bitmap...) created bitmap_load, it missed calling it after bitmap_create when a bitmap is created through the sysfs interface. So if a bitmap is added this way, we don't allocate memory properly and can crash. This is suitable for any -stable release since 2.6.35. Cc: stable@vger.kernel.org Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions