From: Josef Bacik Date: Thu, 31 May 2012 19:49:57 +0000 (-0400) Subject: Btrfs: wake up transaction waiters when aborting a transaction X-Git-Tag: v3.5-rc3~18^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7096fc3ef8360f30f228344bc564d4f97d8a158;p=pandora-kernel.git Btrfs: wake up transaction waiters when aborting a transaction I was getting lots of hung tasks and a NULL pointer dereference because we are not cleaning up the transaction properly when it aborts. First we need to reset the running_transaction to NULL so we don't get a bad dereference for any start_transaction callers after this. Also we cannot rely on waitqueue_active() since it's just a list_empty(), so just call wake_up() directly since that will do the barrier for us and such. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed