From 601d0e2bd21fcc2b01e7106dfcbd8911ff91e767 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 20 Jun 1995 01:21:01 +0000 Subject: (write_all_disknodes): Typos. --- ufs/inode.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ufs') diff --git a/ufs/inode.c b/ufs/inode.c index df5fec17..488b2785 100644 --- a/ufs/inode.c +++ b/ufs/inode.c @@ -412,6 +412,7 @@ diskfs_node_iterate (error_t (*fun)(struct node *)) struct item {struct item *next; struct node *np;} *list = 0; struct item *i; error_t err; + int n; /* Acquire a reference on all the nodes in the hash table and enter them into a list on the stack. */ @@ -438,6 +439,7 @@ diskfs_node_iterate (error_t (*fun)(struct node *)) } diskfs_nrele (i->np); } + return err; } /* Write all active disknodes into the dinode pager. */ @@ -449,6 +451,7 @@ write_all_disknodes () { diskfs_set_node_times (np); write_node (np); + return 0; } diskfs_node_iterate (helper); -- cgit v1.2.3