diff options
author | NeilBrown <neilb@suse.de> | 2012-05-22 13:55:21 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-05-22 13:55:21 +1000 |
commit | 62f82faaceb483284ea938b3a092b9f0a4d2d029 (patch) | |
tree | 5b2d6799ca52ceb3a6d4882f6232e010e90bdd22 /drivers/bcma/sprom.c | |
parent | 7466712347c58c367636cc875801c8703bc729e7 (diff) |
md/bitmap: remove async freeing of bitmap file.
There is no real value in freeing things the moment there is an error.
It is just as good to free the bitmap file and pages when the bitmap
is explicitly removed (and replaced?) or at shutdown.
With this gone, the bitmap will only disappear when the array is
quiescent, so we can remove some locking.
As the 'filemap' doesn't disappear now, include extra checks before
trying to write any of it out.
Also remove the check for "has it disappeared" in
bitmap_daemon_write().
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/bcma/sprom.c')
0 files changed, 0 insertions, 0 deletions