]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix extent buffer leak after backref walking
authorLiu Bo <bo.li.liu@oracle.com>
Wed, 3 Jul 2013 06:40:44 +0000 (14:40 +0800)
committerChris Mason <chris.mason@fusionio.com>
Fri, 9 Aug 2013 23:29:42 +0000 (19:29 -0400)
commite120779aba5fae53739b927cbe6b33e2c001a839
tree830bec52797091e0408e568e669a1717d06e6627
parentdf98cf34a3dae3da89790c65bce2d6d7b6ed54fb
Btrfs: fix extent buffer leak after backref walking

commit 365b4f044f1f2507b20471c0d9b1755c28447951(Btrfs: fix unlock after free on rewinded tree blocks)
takes an extra increment on the reference of allocated dummy extent buffer, so now we
cannot free this dummy one, and end up with extent buffer leak.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ctree.c