Btrfs: Fix for lockdep warnings with alloc_mutex and pinned_mutex
[linux-2.6-block.git] / fs / btrfs / ctree.h
index 0f2a9b584fb67cbeb7f42b6bca2a8584fc5bf88f..166896dd44c2ccd71004b304c0c3ace3e10af633 100644 (file)
@@ -580,6 +580,7 @@ struct btrfs_block_group_cache {
        struct btrfs_block_group_item item;
        spinlock_t lock;
        struct mutex alloc_mutex;
+       struct mutex cache_mutex;
        u64 pinned;
        u64 reserved;
        u64 flags;