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
commit5935f83db5213e2298b1af93543463b24dc97c4c (patch)
tree7c6266d8bd966a4dbf67129d195c79c1000f5c83
parent6ebe4ab03fe3921ffbf5a059140a8720a05f7a95 (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");