Li Zefan 30b4caf5d7 Btrfs: use join_transaction in btrfs_evict_inode()
The WARN_ON() in start_transaction() was triggered while balancing.

The cause is btrfs_relocate_chunk() started a transaction and
then called iput() on the inode that stores free space cache,
and iput() called btrfs_start_transaction() again.

Reported-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Reviewed-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2011-06-11 08:31:55 -04:00
..
2011-05-28 07:00:39 -04:00
2011-06-04 08:11:22 -04:00
2008-09-25 11:04:06 -04:00
2011-05-28 07:00:39 -04:00
2011-06-04 08:11:22 -04:00
2011-05-26 17:52:15 -04:00
2010-12-22 23:15:47 +08:00
2011-05-06 12:34:03 +02:00
2011-05-06 12:34:03 +02:00
2011-05-06 12:34:03 +02:00
2011-05-06 12:34:03 +02:00
2011-05-28 07:00:39 -04:00
2011-06-04 08:03:47 -04:00
2011-05-28 07:00:39 -04:00
2011-06-10 19:02:04 -04:00
2011-05-28 07:00:39 -04:00