diff options
| author | NeilBrown <neilb@suse.de> | 2012-03-18 21:46:37 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-02 12:27:11 -0400 |
| commit | 6990597d9d2f45a969d16d068369f93db0a7d281 (patch) | |
| tree | 3509df1e0836c9125f4354b93837037c9d1d2ab5 /net/dsa/dsa.c | |
| parent | bf8109a3b01b5c64e0ec4b11fa020abca8d00223 (diff) | |
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 <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions
