Btrfs: just wait or commit our own log sub-transaction
[cascardo/linux.git] / fs / btrfs / tree-log.h
index 59c1edb..91b145f 100644 (file)
 
 struct btrfs_log_ctx {
        int log_ret;
+       int log_transid;
        struct list_head list;
 };
 
 static inline void btrfs_init_log_ctx(struct btrfs_log_ctx *ctx)
 {
        ctx->log_ret = 0;
+       ctx->log_transid = 0;
        INIT_LIST_HEAD(&ctx->list);
 }