commit | 960097622d48bf0ee8f6c0cf751a904066c4b45b | [log] [tgz] |
---|---|---|
author | Wang Sheng-Hui <shhuiw@gmail.com> | Fri Nov 30 06:30:14 2012 +0000 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Dec 16 20:46:17 2012 -0500 |
tree | d59435ff5f8e34cfb70586beb82dbbc654a7a279 | |
parent | 43baa579b3b1f059f68c51ef754ec59c87a35745 [diff] |
Btrfs: use ctl->unit for free space calculation instead of block_group->sectorsize We should use ctl->unit for free space calculation instead of block_group->sectorsize even though for free space use_bitmap or free space cluster we only have sectorsize assigned to ctl->unit currently. Also, we can keep it consisten in code style. Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>