summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-20 01:21:01 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-20 01:21:01 +0000
commit8ad6fc41b13f33ed47eb9ae01cdd6230af2de327 (patch)
tree222094e5c7a5c9d72bce91ad9af9f7787a52434f
parent8422cad93ec0d573e0de38d8d2771980aaa1554d (diff)
(write_all_disknodes): Typos.
-rw-r--r--ufs/inode.c3
1 files changed, 3 insertions, 0 deletions
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);