diff options
author | Neil Brown <neilb@suse.de> | 2007-08-12 00:18:08 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2007-08-12 00:18:08 +0200 |
commit | ddd0593c7408afa9dcc29db6a80669761107ee3c (patch) | |
tree | 0ad2f9bae87f83d5a6e7e44e06b326b3b98da1a7 /lib/kobject.c | |
parent | 1da6843b983e8bebefa78f15e433320c56c27477 (diff) |
md/bitmap: fix online removal of file-backed bitmaps
When "mdadm --grow /dev/mdX --bitmap=none" is used to remove a filebacked
bitmap, the bitmap was disconnected from the array, but the file wasn't closed
(until the array was stopped).
The file also wasn't closed if adding the bitmap file failed.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions