From: Jan Schmidt Date: Sat, 13 Apr 2013 13:19:55 +0000 (+0000) Subject: Btrfs: fix unlock after free on rewinded tree blocks X-Git-Tag: v3.10-rc1~31^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47fb091fb787420cd195e66f162737401cce023f;p=pandora-kernel.git 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 Signed-off-by: Josef Bacik --- Reading git-diff-tree failed