Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233004
b: refs/heads/master
c: b31eabd
h: refs/heads/master
v: v3
  • Loading branch information
Chris Mason committed Jan 31, 2011
1 parent c084404 commit cdcda78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b1953bcec95c189b1eea690a08e89646d7750bda
refs/heads/master: b31eabd86eb68d3c217e6821078249bc045e698a
3 changes: 2 additions & 1 deletion trunk/fs/btrfs/tree-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -2051,6 +2051,7 @@ int btrfs_sync_log(struct btrfs_trans_handle *trans,
wait_log_commit(trans, log_root_tree,
log_root_tree->log_transid);
mutex_unlock(&log_root_tree->log_mutex);
ret = 0;
goto out;
}
atomic_set(&log_root_tree->log_commit[index2], 1);
Expand Down Expand Up @@ -2115,7 +2116,7 @@ int btrfs_sync_log(struct btrfs_trans_handle *trans,
smp_mb();
if (waitqueue_active(&root->log_commit_wait[index1]))
wake_up(&root->log_commit_wait[index1]);
return 0;
return ret;
}

static void free_log_tree(struct btrfs_trans_handle *trans,
Expand Down

0 comments on commit cdcda78

Please sign in to comment.