 fs/reiser4/txnmgr.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/reiser4/txnmgr.c~reiser4-tmp5 fs/reiser4/txnmgr.c
--- linux-2.6.12-rc2-mm3/fs/reiser4/txnmgr.c~reiser4-tmp5	2005-04-26 12:53:36.067211753 +0400
+++ linux-2.6.12-rc2-mm3-vs/fs/reiser4/txnmgr.c	2005-04-26 12:53:36.091208795 +0400
@@ -1415,9 +1415,9 @@ static int txn_try_to_fuse_small_atom (t
 			UNLOCK_ATOM(atom_2);
 		}
 	}
-	spin_unlock_txnmgr(tmgr);
 	atom->flags |= ATOM_CANCEL_FUSION;
  out: 
+	spin_unlock_txnmgr(tmgr);
 	if (repeat) {
 		UNLOCK_ATOM(atom);
 		return -E_REPEAT;

_
