Btrfs: Enable delalloc accounting

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason 2008-01-31 11:05:37 -05:00
parent 0181e58f91
commit b0c68f8bed
4 changed files with 26 additions and 14 deletions

View file

@ -861,6 +861,10 @@ int close_ctree(struct btrfs_root *root)
write_ctree_super(NULL, root);
mutex_unlock(&fs_info->fs_mutex);
if (fs_info->delalloc_bytes) {
printk("btrfs: at unmount delalloc count %Lu\n",
fs_info->delalloc_bytes);
}
if (fs_info->extent_root->node)
free_extent_buffer(fs_info->extent_root->node);