From af3612a90a6e83dec51de3f33fc46a29d4c6c339 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Wed, 31 Mar 2010 10:48:22 -0700 Subject: [PATCH] A few minor fixes. --- bluesky/inode.c | 2 ++ nfs3/nfsd.c | 3 +++ 2 files changed, 5 insertions(+) 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"); -- 2.20.1