]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc06d71a0cfe302791cbe0ea08d3cc3e64772f84
tree07562dc275a2f29f2162ece6afcc1e90515420b9
parente284d21ed0f02278d9026cec07266d2d93b421ae
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