Btrfs: properly update block accounting for metadata
authorYan Zheng <zheng.yan@oracle.com>
Fri, 19 Dec 2008 15:58:46 +0000 (10:58 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 19 Dec 2008 15:58:46 +0000 (10:58 -0500)
This adds the missing block accounting code to finish_current_insert and makes
block accounting for root item properly protected by the delalloc spin lock.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>

No differences found