X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=bluesky%2Fcache.c;h=587f98b21ad926167b22d2162bcbd95e1b220f29;hb=e9af23b41ae0c11245fbc6886a794e1dfb04a6bd;hp=441e6c4ef50af1b6c643fd9e52b8cdec505217a7;hpb=db4915b4f7fc8f74958c4d1891dc69b76cbbe383;p=bluesky.git diff --git a/bluesky/cache.c b/bluesky/cache.c index 441e6c4..587f98b 100644 --- a/bluesky/cache.c +++ b/bluesky/cache.c @@ -78,17 +78,7 @@ static void flushd_dirty_inode(BlueSkyInode *inode) } inode->change_pending = inode->change_count; - /* Create a store barrier. All operations part of the writeback will be - * added to this barrier, so when the barrier completes we know that the - * writeback is finished. */ - BlueSkyStoreAsync *barrier = bluesky_store_async_new(fs->store); - barrier->op = STORE_OP_BARRIER; - - bluesky_inode_start_sync(inode, barrier); - - bluesky_store_async_add_notifier(barrier, writeback_complete, inode); - bluesky_store_async_submit(barrier); - bluesky_store_async_unref(barrier); + bluesky_inode_start_sync(inode); } /* Try to flush dirty data to disk, either due to memory pressure or due to