btrfs: Add helper function free_bitmap()
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 9 Nov 2010 06:50:07 +0000 (14:50 +0800)
committerLi Zefan <lizf@cn.fujitsu.com>
Wed, 26 Jan 2011 17:04:37 +0000 (01:04 +0800)
commitedf6e2d1ddbac7f326b34a27adbca71ece53ccce
tree71df1880c22a88a5f81560ab574bb19f61c83eb9
parent8eb2d829ffea3677c21bd038f19e5d8ca6b43e36
btrfs: Add helper function free_bitmap()

Remove some duplicated code.

This prepares for the next patch.

Reviewed-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
fs/btrfs/free-space-cache.c