From: Li Zefan Date: Wed, 8 Jun 2011 03:56:44 +0000 (+0000) Subject: Btrfs: use join_transaction in btrfs_evict_inode() X-Git-Tag: v3.0-rc3~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30b4caf5d73af5c99cf1b2b46496d8bc35330992;p=pandora-kernel.git 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 Signed-off-by: Li Zefan Reviewed-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed