Btrfs: fix skipped error handle when log sync failed
[linux-2.6-block.git] / fs / btrfs / ctree.h
index 70c03f5f0953d3482a77726e1600a67e31ef92ac..906410719acb205eb680f50b32289ac5838d363c 100644 (file)
@@ -1718,6 +1718,7 @@ struct btrfs_root {
        struct mutex log_mutex;
        wait_queue_head_t log_writer_wait;
        wait_queue_head_t log_commit_wait[2];
+       struct list_head log_ctxs[2];
        atomic_t log_writers;
        atomic_t log_commit[2];
        atomic_t log_batch;