]> git.baikalelectronics.ru Git - kernel.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)
commit34052d31288249af311ea9c5acf87772e5967542
treea7a2f1fc2d88cb5a5b0a1ca54aa9647ec6e51fa4
parent4e5d3c72a46ad10b60d46c1c5da655fe07df1aba
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