summaryrefslogtreecommitdiff
path: root/ufs/inode.c
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
commit601d0e2bd21fcc2b01e7106dfcbd8911ff91e767 (patch)
treebe9332917b1de77849036873b1fa8cd53ade49d3 /ufs/inode.c
parent5fba004ecf5c7e226617e9744e65779a415e1b66 (diff)
(write_all_disknodes): Typos.
Diffstat (limited to 'ufs/inode.c')
-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);