From 8a2ef6b448a40c790e7df154c12b54932f3e62e0 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Sun, 27 Dec 2009 16:23:33 -0800 Subject: [PATCH] Minor cleanups. --- bluesky/store.c | 2 -- nfs3/nfs3.c | 1 + nfs3/nfsd.c | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bluesky/store.c b/bluesky/store.c index 274497d..f8b3a6d 100644 --- a/bluesky/store.c +++ b/bluesky/store.c @@ -110,8 +110,6 @@ void bluesky_store_async_unref(BlueSkyStoreAsync *async) g_free(async->key); bluesky_string_unref(async->data); g_free(async); - g_log("bluesky/store", G_LOG_LEVEL_DEBUG, - "freeing async"); } } diff --git a/nfs3/nfs3.c b/nfs3/nfs3.c index cffad52..2c0d150 100644 --- a/nfs3/nfs3.c +++ b/nfs3/nfs3.c @@ -130,6 +130,7 @@ void encode_pre_wcc(struct wcc_data *wcc, BlueSkyInode *inode) wcc->before.pre_op_attr_u.attributes.ctime.seconds = inode->ctime / 1000000; wcc->before.pre_op_attr_u.attributes.ctime.nseconds = (inode->ctime % 1000000) * 1000; } + void * nfsproc3_null_3_svc(void *argp, struct svc_req *rqstp) { diff --git a/nfs3/nfsd.c b/nfs3/nfsd.c index e4beac1..16011f4 100644 --- a/nfs3/nfsd.c +++ b/nfs3/nfsd.c @@ -32,6 +32,8 @@ int main(int argc, char *argv[]) bluesky_init(); register_rpc(); + bluesky_options.synchronous_stores = 1; + store = bluesky_store_new("file"); fs = bluesky_init_fs("export", store); -- 2.20.1