From 3fd7d7d1196d723a86e44ac4fc00f4b54abcd5c3 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 4 Feb 1994 21:35:20 +0000 Subject: Formerly node-make.c.~3~ --- libdiskfs/node-make.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libdiskfs/node-make.c') diff --git a/libdiskfs/node-make.c b/libdiskfs/node-make.c index add430c3..1159357b 100644 --- a/libdiskfs/node-make.c +++ b/libdiskfs/node-make.c @@ -16,6 +16,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "priv.h" +#include /* Create a and return new node structure with DN as its physical disknode. @@ -23,7 +24,7 @@ struct node * diskfs_make_node (struct disknode *dn) { - struce node *np = malloc (sizeof (struct node)); + struct node *np = malloc (sizeof (struct node)); np->dn = dn; np->dn_set_ctime = 0; @@ -41,7 +42,6 @@ diskfs_make_node (struct disknode *dn) condition_init (&np->flockwait); np->needflock = 0; np->shlock_count = 0; - - diskfs_set_stat (np->dn, &np->dn_stat); + return np; } -- cgit v1.2.3