From: Michael Vrable Date: Mon, 27 Sep 2010 23:30:13 +0000 (-0700) Subject: Another logging fix. X-Git-Url: http://git.vrable.net/?p=bluesky.git;a=commitdiff_plain;h=74f45d45ca481cdd9e9c502ee9de591970dbf1de Another logging fix. --- 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);