Josef Bacik b8399dee47 Btrfs: do not do fast caching if we are allocating blocks for tree_root
Since the fast caching uses normal tree locking, we can possibly deadlock if we
get to the caching via a btrfs_search_slot() on the tree_root.  So just check to
see if the root we are on is the tree root, and just don't do the fast caching.

Reported-by: Sage Weil <sage@newdream.net>
Signed-off-by: Josef Bacik <josef@redhat.com>
2010-12-09 13:57:13 -05:00
..
2010-11-21 22:26:08 -05:00
2008-09-25 11:04:06 -04:00
2010-11-27 13:37:50 -05:00
2010-10-29 15:14:23 -04:00
2010-12-09 13:57:10 -05:00
2010-10-29 21:41:57 -04:00
2010-05-21 18:31:18 -04:00