summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
Diffstat (limited to 'ufs')
-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");