]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit34bf63c4ddddd92bfba3387d134c37bf4426b2ce
treea7a2f1fc2d88cb5a5b0a1ca54aa9647ec6e51fa4
parentab67b7c1f780a8a321fe7ee49117775009350fb3
Btrfs: properly update block accounting for metadata

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>
fs/btrfs/extent-tree.c