From: Michael Vrable Date: Fri, 19 Feb 2010 00:28:11 +0000 (-0800) Subject: Do not start the RPC services until the filesystem is ready. X-Git-Url: http://git.vrable.net/?a=commitdiff_plain;h=37c0f01f88eec01df1a9ecf6c1da97fea1573613;hp=2901c11f2a4adfa9b3db422692bb9e2232be0a04;p=bluesky.git Do not start the RPC services until the filesystem is ready. --- diff --git a/nfs3/nfsd.c b/nfs3/nfsd.c index c952c68..d323fdb 100644 --- a/nfs3/nfsd.c +++ b/nfs3/nfsd.c @@ -31,7 +31,6 @@ int main(int argc, char *argv[]) int i; bluesky_init(); g_set_prgname("nfsd"); - register_rpc(); const char *target = getenv("BLUESKY_TARGET"); if (target == NULL) @@ -40,6 +39,8 @@ int main(int argc, char *argv[]) store = bluesky_store_new(target); fs = bluesky_init_fs("export", store); + register_rpc(); + bluesky_debug_dump(fs); svc_run();