diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-01-31 11:05:37 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:00 -0400 |
commit | b0c68f8bed058d9f2023b067b16ed06a8c439544 (patch) | |
tree | 71c9024152a9f25f6b446c7e33bf25191cefff69 /fs/btrfs/disk-io.c | |
parent | 0181e58f91c1edbf835edb7a87d6dfe81374709d (diff) |
Btrfs: Enable delalloc accounting
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 6647b90ef745..ad72e2192015 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -861,6 +861,10 @@ int close_ctree(struct btrfs_root *root) | |||
861 | write_ctree_super(NULL, root); | 861 | write_ctree_super(NULL, root); |
862 | mutex_unlock(&fs_info->fs_mutex); | 862 | mutex_unlock(&fs_info->fs_mutex); |
863 | 863 | ||
864 | if (fs_info->delalloc_bytes) { | ||
865 | printk("btrfs: at unmount delalloc count %Lu\n", | ||
866 | fs_info->delalloc_bytes); | ||
867 | } | ||
864 | if (fs_info->extent_root->node) | 868 | if (fs_info->extent_root->node) |
865 | free_extent_buffer(fs_info->extent_root->node); | 869 | free_extent_buffer(fs_info->extent_root->node); |
866 | 870 | ||