diff options
Diffstat (limited to 'fs/btrfs/tree-log.h')
-rw-r--r-- | fs/btrfs/tree-log.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/tree-log.h b/fs/btrfs/tree-log.h index 59c1edb31d19..91b145fce333 100644 --- a/fs/btrfs/tree-log.h +++ b/fs/btrfs/tree-log.h | |||
@@ -24,12 +24,14 @@ | |||
24 | 24 | ||
25 | struct btrfs_log_ctx { | 25 | struct btrfs_log_ctx { |
26 | int log_ret; | 26 | int log_ret; |
27 | int log_transid; | ||
27 | struct list_head list; | 28 | struct list_head list; |
28 | }; | 29 | }; |
29 | 30 | ||
30 | static inline void btrfs_init_log_ctx(struct btrfs_log_ctx *ctx) | 31 | static inline void btrfs_init_log_ctx(struct btrfs_log_ctx *ctx) |
31 | { | 32 | { |
32 | ctx->log_ret = 0; | 33 | ctx->log_ret = 0; |
34 | ctx->log_transid = 0; | ||
33 | INIT_LIST_HEAD(&ctx->list); | 35 | INIT_LIST_HEAD(&ctx->list); |
34 | } | 36 | } |
35 | 37 | ||