md/bitmap: merge bitmap_file_unmap and bitmap_file_put.
authorNeilBrown <neilb@suse.de>
Tue, 22 May 2012 03:55:21 +0000 (13:55 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 22 May 2012 03:55:21 +0000 (13:55 +1000)
commitfae7d326cd0905624c173337fdfcfe9b86b9e6e2
tree2f98bd9e055dce2250c0ba813aeaa95873665018
parent62f82faaceb483284ea938b3a092b9f0a4d2d029
md/bitmap: merge bitmap_file_unmap and bitmap_file_put.

There functions really do one thing together: release the
'bitmap_storage'.  So make them just one function.

Since we removed the locking (previous patch), we don't need to zero
any fields before freeing them, so it all becomes a bit simpler.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/bitmap.c