summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@gmail.com>2012-11-30 07:30:14 +0100
committerChris Mason <chris.mason@fusionio.com>2012-12-17 02:46:17 +0100
commit960097622d48bf0ee8f6c0cf751a904066c4b45b (patch)
treed59435ff5f8e34cfb70586beb82dbbc654a7a279 /include/trace
parentBtrfs: refactor error handling to drop inode in btrfs_create() (diff)
downloadlinux-960097622d48bf0ee8f6c0cf751a904066c4b45b.tar.xz
linux-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 'include/trace')
0 files changed, 0 insertions, 0 deletions