projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Btrfs: just wait or commit our own log sub-transaction
[cascardo/linux.git]
/
fs
/
btrfs
/
tree-log.h
diff --git
a/fs/btrfs/tree-log.h
b/fs/btrfs/tree-log.h
index
59c1edb
..
91b145f
100644
(file)
--- a/
fs/btrfs/tree-log.h
+++ b/
fs/btrfs/tree-log.h
@@
-24,12
+24,14
@@
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);
}