From: NeilBrown Date: Mon, 19 Mar 2012 01:46:37 +0000 (+1100) Subject: md/bitmap: ensure to load bitmap when creating via sysfs. X-Git-Tag: v3.2.14~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aae19423e23df33f18e49f7558cb660aa485df90;p=pandora-kernel.git md/bitmap: ensure to load bitmap when creating via sysfs. commit 4474ca42e2577563a919fd3ed782e2ec55bf11a2 upstream. 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. Signed-off-by: NeilBrown Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed