Btrfs: fix how we deal with the orphan block rsv
[pandora-kernel.git] / fs / btrfs / ctree.h
index 8fd7233..aad2600 100644 (file)
@@ -1375,7 +1375,7 @@ struct btrfs_root {
        struct list_head root_list;
 
        spinlock_t orphan_lock;
-       struct list_head orphan_list;
+       atomic_t orphan_inodes;
        struct btrfs_block_rsv *orphan_block_rsv;
        int orphan_item_inserted;
        int orphan_cleanup_state;