From 2ce6fda3da4f99c758d3995edd5ee2a1282c8bcc Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 19 Mar 1996 20:17:00 +0000 Subject: (diskfs_create_node): Call diskfs_enter_cache if diskfs_direnter is successful. --- libdiskfs/node-create.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libdiskfs/node-create.c') diff --git a/libdiskfs/node-create.c b/libdiskfs/node-create.c index 7bab4e2a..b27c38a9 100644 --- a/libdiskfs/node-create.c +++ b/libdiskfs/node-create.c @@ -1,5 +1,5 @@ /* Making new files - Copyright (C) 1992, 1993, 1994 Free Software Foundation + Copyright (C) 1992, 1993, 1994, 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 @@ -101,6 +101,8 @@ diskfs_create_node (struct node *dir, np->dn_set_ctime = 1; diskfs_nput (np); } + else + diskfs_enter_cache (dir, np, name); } return err; } -- cgit v1.2.3