diff options
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 5124c15705ce..05dc3c17cb62 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -1187,6 +1187,7 @@ static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, | |||
1187 | atomic_set(&root->log_batch, 0); | 1187 | atomic_set(&root->log_batch, 0); |
1188 | refcount_set(&root->refs, 1); | 1188 | refcount_set(&root->refs, 1); |
1189 | atomic_set(&root->will_be_snapshotted, 0); | 1189 | atomic_set(&root->will_be_snapshotted, 0); |
1190 | atomic_set(&root->snapshot_force_cow, 0); | ||
1190 | root->log_transid = 0; | 1191 | root->log_transid = 0; |
1191 | root->log_transid_committed = -1; | 1192 | root->log_transid_committed = -1; |
1192 | root->last_log_commit = 0; | 1193 | root->last_log_commit = 0; |