X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=nfs3%2Fnfsd.c;h=e43f530bb6831069bda7f0ea47b17c66839cd443;hb=d514caf49faff9295d0e497d3b6b8856fe83f8d0;hp=55819e05fd36b50f5c3c2238388dd8835357820f;hpb=3c5c5e9b5a8650e0549712e20e007ba2399656bf;p=bluesky.git diff --git a/nfs3/nfsd.c b/nfs3/nfsd.c index 55819e0..e43f530 100644 --- a/nfs3/nfsd.c +++ b/nfs3/nfsd.c @@ -32,21 +32,11 @@ int main(int argc, char *argv[]) bluesky_init(); register_rpc(); - bluesky_options.synchronous_stores = 1; + bluesky_options.async_inode_fetches = 1; store = bluesky_store_new("s3"); fs = bluesky_init_fs("export", store); - BlueSkyInode *root; - root = bluesky_get_inode(fs, BLUESKY_ROOT_INUM); - if (root == NULL) { - printf("Initializing fresh root inode...\n"); - root = bluesky_new_inode(BLUESKY_ROOT_INUM, fs, BLUESKY_DIRECTORY); - root->nlink = 1; - root->mode = 0755; - bluesky_insert_inode(fs, root); - } - bluesky_debug_dump(fs); svc_run();