Btrfs: Fix race in running_transaction checks
authorChris Mason <chris.mason@oracle.com>
Mon, 9 Jun 2008 13:35:50 +0000 (09:35 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:03 +0000 (11:04 -0400)
When a new transaction was started, the code would incorrectly
set the pointer in fs_info before all the data structures were setup.
fsync heavy workloads hit races on the setup of the ordered inode spinlock

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/transaction.c

Simple merge