From: Michael Vrable Date: Mon, 25 Jan 2010 03:22:38 +0000 (-0800) Subject: Bluesky core initializes a fresh filesystem, so no need to do so in nfsd. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=abc0e904afb351494d215a28da62011052852a65;p=bluesky.git Bluesky core initializes a fresh filesystem, so no need to do so in nfsd. --- 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();