From: Michael Vrable Date: Wed, 31 Mar 2010 17:48:22 +0000 (-0700) Subject: A few minor fixes. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=af3612a90a6e83dec51de3f33fc46a29d4c6c339;p=bluesky.git A few minor fixes. --- diff --git a/bluesky/inode.c b/bluesky/inode.c index 4f970fe..903f003 100644 --- a/bluesky/inode.c +++ b/bluesky/inode.c @@ -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); } diff --git a/nfs3/nfsd.c b/nfs3/nfsd.c index d323fdb..b2e1071 100644 --- a/nfs3/nfsd.c +++ b/nfs3/nfsd.c @@ -29,6 +29,9 @@ BlueSkyStore *store; int main(int argc, char *argv[]) { int i; + + signal(SIGPIPE, SIG_IGN); + bluesky_init(); g_set_prgname("nfsd");