diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-03-19 20:17:00 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-03-19 20:17:00 +0000 |
commit | 2ce6fda3da4f99c758d3995edd5ee2a1282c8bcc (patch) | |
tree | 81e3ea132487760a7aaf40001183cda57fbb2908 /libdiskfs/node-create.c | |
parent | 4bd166682c7a41207e8953e6e9cfc93df4a9b01a (diff) |
(diskfs_create_node): Call diskfs_enter_cache if diskfs_direnter is
successful.
Diffstat (limited to 'libdiskfs/node-create.c')
-rw-r--r-- | libdiskfs/node-create.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |