]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/bitmap: merge bitmap_file_unmap and bitmap_file_put.
authorNeilBrown <neilb@suse.de>
Tue, 24 Apr 2012 00:57:57 +0000 (10:57 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 24 Apr 2012 00:57:57 +0000 (10:57 +1000)
commitfef31a061b01b681e850f30e8a9a5e0005538c1c
tree350ce65b1b6a60355faf98cfa608931398b1b93d
parentdf0acf890240572e52dfcc37230376ac7ba38d2f
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