summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-18 16:40:57 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-18 16:40:57 +0000
commit5c1e6655a532185b661a90fd6380b9334575f77e (patch)
tree5c51713df85eaaebf4e1c93e35234de0e34b2c5c
parent080f2c714857fd99f198924532af339d6dc770c4 (diff)
Formerly alloc.c.~14~
-rw-r--r--ufs/alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ufs/alloc.c b/ufs/alloc.c
index 8afa6aa7..19389afe 100644
--- a/ufs/alloc.c
+++ b/ufs/alloc.c
@@ -564,6 +564,8 @@ diskfs_alloc_node (struct node *dir,
nextgennumber = sex;
np->dn_stat.st_gen = nextgennumber;
spin_unlock (&gennumberlock);
+
+ *npp = np;
return (0);
noinodes:
printf ("out of inodes");