mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
Btrfs: Enable delalloc accounting
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
0181e58f91
commit
b0c68f8bed
4 changed files with 26 additions and 14 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue