Btrfs: Fix for lockdep warnings with alloc_mutex and pinned_mutex
authorJosef Bacik <jbacik@redhat.com>
Thu, 20 Nov 2008 17:16:16 +0000 (12:16 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 20 Nov 2008 17:16:16 +0000 (12:16 -0500)
commitea6a478ed9758cb0f5af228104b9434840aa20ff
tree1dd41601f8bb031a1e222b073458067af5d4b70d
parent0e6bd956ed238eb2f69386f251847fe3163532e1
Btrfs: Fix for lockdep warnings with alloc_mutex and pinned_mutex

This the lockdep complaint by having a different mutex to gaurd caching the
block group, so you don't end up with this backwards dependancy.  Thank you,

Signed-off-by: Josef Bacik <jbacik@redhat.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c