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)
commitd9b0218f6cb682aa6a4ada2bfc5a25fdf3018563
treeea325470025698b1f9bfd8ff034d0d54ee89bb59
parent9d47c7671dc555e198c7347a173ed37316e0c4c1
Btrfs: fix a bug on overcommit stuff

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