summaryrefslogtreecommitdiff
path: root/lib/bcd.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2014-01-13 11:53:53 (GMT)
committerChris Mason <clm@fb.com>2014-01-28 21:20:35 (GMT)
commit1a4319cc3c495d5b6b8e41f4d4c73b950d54c2be (patch)
treefca5ffd2b1b88281063a288552e04c6864a12fa8 /lib/bcd.c
parent078025347c8ed43ff330e392476d8866ac1b297f (diff)
downloadlinux-1a4319cc3c495d5b6b8e41f4d4c73b950d54c2be.tar.xz
Btrfs: fix extent state leak on transaction abortion
When transaction is aborted, we fail to commit transaction, instead we do cleanup work. After that when we umount btrfs, we get to free fs roots' log trees respectively, but that happens after we unpin extents, so those extents pinned by freeing log trees will remain in memory and lead to the leak. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'lib/bcd.c')
0 files changed, 0 insertions, 0 deletions