Btrfs: switch extent_map to a rw lock
[pandora-kernel.git] / fs / btrfs / extent_map.h
index fb6eeef..6216dfb 100644 (file)
@@ -31,7 +31,7 @@ struct extent_map {
 
 struct extent_map_tree {
        struct rb_root map;
-       spinlock_t lock;
+       rwlock_t lock;
 };
 
 static inline u64 extent_map_end(struct extent_map *em)