projects
/
bluesky.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c5c5e9
)
Bluesky core initializes a fresh filesystem, so no need to do so in nfsd.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Mon, 25 Jan 2010 03:22:38 +0000
(19:22 -0800)
committer
Michael Vrable
<mvrable@cs.ucsd.edu>
Mon, 25 Jan 2010 03:22:38 +0000
(19:22 -0800)
nfs3/nfsd.c
patch
|
blob
|
history
diff --git
a/nfs3/nfsd.c
b/nfs3/nfsd.c
index
55819e0
..
f028459
100644
(file)
--- 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();