From 74f45d45ca481cdd9e9c502ee9de591970dbf1de Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Mon, 27 Sep 2010 16:30:13 -0700 Subject: [PATCH] Another logging fix. --- bluesky/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bluesky/log.c b/bluesky/log.c index 87639db..ed13ac1 100644 --- a/bluesky/log.c +++ b/bluesky/log.c @@ -335,7 +335,7 @@ void bluesky_log_write_commit_point(BlueSkyFS *fs, BlueSkyCloudLog *marker) bluesky_cloudlog_sync(commit); g_mutex_lock(commit->lock); - while ((commit->pending_write & CLOUDLOG_JOURNAL)) + while ((commit->location_flags & CLOUDLOG_UNCOMMITTED)) g_cond_wait(commit->cond, commit->lock); g_mutex_unlock(commit->lock); -- 2.20.1