From abc0e904afb351494d215a28da62011052852a65 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Sun, 24 Jan 2010 19:22:38 -0800 Subject: [PATCH] Bluesky core initializes a fresh filesystem, so no need to do so in nfsd. --- nfs3/nfsd.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/nfs3/nfsd.c b/nfs3/nfsd.c index 55819e0..f028459 100644 --- a/nfs3/nfsd.c +++ b/nfs3/nfsd.c @@ -37,16 +37,6 @@ int main(int argc, char *argv[]) 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(); -- 2.20.1