Merge branch 'for-chris' of git://git.jan-o-sch.net/btrfs-unstable into integration
[linux-2.6-block.git] / fs / btrfs / extent_io.c
index 49f3c9dc09f4c81902299fd81c62da1ed8423250..3622cc22ff919d4477f6b3f930ac2b86443f6ba7 100644 (file)
@@ -3579,6 +3579,7 @@ static struct extent_buffer *__alloc_extent_buffer(struct extent_io_tree *tree,
        atomic_set(&eb->blocking_writers, 0);
        atomic_set(&eb->spinning_readers, 0);
        atomic_set(&eb->spinning_writers, 0);
+       eb->lock_nested = 0;
        init_waitqueue_head(&eb->write_lock_wq);
        init_waitqueue_head(&eb->read_lock_wq);