diff options
author | 2012-11-30 06:30:14 +0000 | |
---|---|---|
committer | 2012-12-16 20:46:17 -0500 | |
commit | 960097622d48bf0ee8f6c0cf751a904066c4b45b (patch) | |
tree | d59435ff5f8e34cfb70586beb82dbbc654a7a279 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Btrfs: refactor error handling to drop inode in btrfs_create() (diff) | |
download | linux-dev-960097622d48bf0ee8f6c0cf751a904066c4b45b.tar.xz linux-dev-960097622d48bf0ee8f6c0cf751a904066c4b45b.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions