]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix memory leak of chunks' extent map
authorLiu Bo <bo.li.liu@oracle.com>
Sun, 29 Sep 2013 02:33:16 +0000 (10:33 +0800)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 02:54:48 +0000 (21:54 -0500)
commit016e68c6156a915c15aa23f5bb7b63afb6b40b3c
tree31314caac540d4eaf13a7a4305d6a71f20957114
parentd7d97118e207d2199ee4048f6911c0e622d01d32
Btrfs: fix memory leak of chunks' extent map

As we're hold a ref on looking up the extent map, we need to drop the ref
before returning to callers.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/volumes.c