A few minor fixes.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Wed, 31 Mar 2010 17:48:22 +0000 (10:48 -0700)
committerMichael Vrable <mvrable@cs.ucsd.edu>
Wed, 31 Mar 2010 17:48:22 +0000 (10:48 -0700)
bluesky/inode.c
nfs3/nfsd.c

index 4f970fe..903f003 100644 (file)
@@ -342,6 +342,8 @@ static void complete_inode_fetch(BlueSkyStoreAsync *async, BlueSkyInode *inode)
         g_print("    failed to load inode, cleaning up\n");
         g_mutex_lock(inode->fs->lock);
         g_hash_table_remove(inode->fs->inodes, &inode->inum);
+        bluesky_list_unlink(&inode->fs->accessed_list, inode->accessed_list);
+        inode->accessed_list = NULL;
         g_mutex_unlock(inode->fs->lock);
         bluesky_inode_unref(inode);
     }
index d323fdb..b2e1071 100644 (file)
@@ -29,6 +29,9 @@ BlueSkyStore *store;
 int main(int argc, char *argv[])
 {
     int i;
+
+    signal(SIGPIPE, SIG_IGN);
+
     bluesky_init();
     g_set_prgname("nfsd");