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 e2e798ae7cd7..154990c26dcb 100644 --- a/fs/btrfs/tree-log.h +++ b/fs/btrfs/tree-log.h | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | struct btrfs_log_ctx { | 28 | struct btrfs_log_ctx { |
| 29 | int log_ret; | 29 | int log_ret; |
| 30 | int log_transid; | 30 | int log_transid; |
| 31 | int io_err; | ||
| 31 | struct list_head list; | 32 | struct list_head list; |
| 32 | }; | 33 | }; |
| 33 | 34 | ||
| @@ -35,6 +36,7 @@ static inline void btrfs_init_log_ctx(struct btrfs_log_ctx *ctx) | |||
| 35 | { | 36 | { |
| 36 | ctx->log_ret = 0; | 37 | ctx->log_ret = 0; |
| 37 | ctx->log_transid = 0; | 38 | ctx->log_transid = 0; |
| 39 | ctx->io_err = 0; | ||
| 38 | INIT_LIST_HEAD(&ctx->list); | 40 | INIT_LIST_HEAD(&ctx->list); |
| 39 | } | 41 | } |
| 40 | 42 | ||
