diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-03-19 20:13:14 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-03-19 20:13:14 +0000 |
commit | 04b394c68d31278695e92fd1b7b8dc527d6eb835 (patch) | |
tree | db6041585653dcbbf887c6a2517804c89cca010f /libdiskfs | |
parent | 168234f5c6667cb4db6895e4d26199a13874c43f (diff) |
(diskfs_init_dir): Doc fix.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/dir-init.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |