commit | 47fb091fb787420cd195e66f162737401cce023f | [log] [tgz] |
---|---|---|
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | Sat Apr 13 13:19:55 2013 +0000 |
committer | Josef Bacik <jbacik@fusionio.com> | Mon May 06 15:54:48 2013 -0400 |
tree | 0214d77b462613aa605d3107633bec7445d53d57 | |
parent | 30b0463a9394d9e41596e96def5461fe33222f13 [diff] |
Btrfs: fix unlock after free on rewinded tree blocks When tree_mod_log_rewind decides to make a copy of the current tree buffer for its modifications, it subsequently freed the buffer before unlocking it. Obviously, those operations are required in reverse order. Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net> Signed-off-by: Josef Bacik <jbacik@fusionio.com>