Btrfs: fix wrong orphan count of the fs/file tree
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 29 Aug 2012 04:13:02 +0000 (22:13 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:19:05 +0000 (15:19 -0400)
commit321f0e70225abc792d74902a2bc4a60164265fd4
tree07562dc275a2f29f2162ece6afcc1e90515420b9
parent4e2f84e63dc138eca91e89ccbc34f37732ce58f7
Btrfs: fix wrong orphan count of the fs/file tree

If we add a new orphan item, we should increase the atomic counter,
not decrease it. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
fs/btrfs/inode.c