From 04b394c68d31278695e92fd1b7b8dc527d6eb835 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 19 Mar 1996 20:13:14 +0000 Subject: (diskfs_init_dir): Doc fix. --- libdiskfs/dir-init.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libdiskfs/dir-init.c b/libdiskfs/dir-init.c index b7dd7d57..560f2f49 100644 --- a/libdiskfs/dir-init.c +++ b/libdiskfs/dir-init.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1994, 1995 Free Software Foundation + Copyright (C) 1994, 1995, 1996 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -48,6 +48,7 @@ diskfs_init_dir (struct node *dp, struct node *pdp, struct protid *cred) dp->dn_set_ctime = 1; return err; } + /* Don't bother adding this to the name cache. */ pdp->dn_stat.st_nlink++; /* for `..' */ pdp->dn_set_ctime = 1; @@ -60,6 +61,8 @@ diskfs_init_dir (struct node *dp, struct node *pdp, struct protid *cred) pdp->dn_set_ctime = 1; return err; } + /* Don't bother adding this to the name cache. */ + diskfs_node_update (dp, 1); return 0; } -- cgit v1.2.3