diff options
| author | NeilBrown <[email protected]> | 2005-09-09 16:23:50 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2005-09-09 16:39:11 -0700 |
| commit | 3178b0dbdf67322f6506582e494bdf553cc85c32 (patch) | |
| tree | a1169a85a0b3a54f1368dcdd86f656cfe4edd89e /scripts/patch-kernel | |
| parent | 585f0dd5a955c420ff3af5193aa07d6f789bf81a (diff) | |
[PATCH] md: do not set mddev->bitmap until bitmap is fully initialised
When hot-adding a bitmap, bitmap_daemon_work could get called while the bitmap
is being created, so don't set mddev->bitmap until the bitmap is ready.
This requires freeing the bitmap inside bitmap_create if creation failed
part-way through.
Signed-off-by: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions