]> git.karo-electronics.de Git - linux-beck.git/commit
Btrfs: fix buffer leak in btrfs_next_old_leaf
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 4 Jul 2012 13:42:48 +0000 (15:42 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Tue, 10 Jul 2012 13:14:41 +0000 (15:14 +0200)
commitcf5388307a2b4faab4b11d732b61c85741be6169
tree1d304ea8133422afcf0158ea39d111db2f884e5e
parentb6305567e7d31b0bec1b8cb9ec0cadd7f7086f5f
Btrfs: fix buffer leak in btrfs_next_old_leaf

When calling btrfs_next_old_leaf, we were leaking an extent buffer in the
rare case of using the deadlock avoidance code needed for the tree mod log.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/ctree.c