Btrfs: fix a bug on overcommit stuff
authorLiu Bo <liubo2009@cn.fujitsu.com>
Thu, 16 Feb 2012 10:34:39 +0000 (18:34 +0800)
committerDavid Sterba <dsterba@suse.cz>
Thu, 16 Feb 2012 16:23:18 +0000 (17:23 +0100)
When overcommitting, we should check the sum of pinned space and
bytes for delayed item.

Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
fs/btrfs/extent-tree.c

Simple merge