commit | d7375ab324971e7acbea9f02a0269ae7348f4147 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon Jun 26 00:27:43 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Jun 26 09:58:38 2006 -0700 |
tree | 0a2e2f17a6ed37be1870b2bcc2b02cd6cf7e8cf2 | |
parent | 52c03291a832d86c093996d0491a326de4a6b79b [diff] |
[PATCH] 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: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>