diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-03-19 20:14:10 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-03-19 20:14:10 +0000 |
commit | 6a653653efaf0ccded25d2faeaa947161d73c099 (patch) | |
tree | e08e64c82fa07c7367ce821f93e3f31942c96a54 /libdiskfs/dir-link.c | |
parent | 04b394c68d31278695e92fd1b7b8dc527d6eb835 (diff) |
(diskfs_S_dir_link): Call diskfs_enter_cache if diskfs_direnter is
successful.
Diffstat (limited to 'libdiskfs/dir-link.c')
-rw-r--r-- | libdiskfs/dir-link.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libdiskfs/dir-link.c b/libdiskfs/dir-link.c index ec7a578b..5f4543c1 100644 --- a/libdiskfs/dir-link.c +++ b/libdiskfs/dir-link.c @@ -1,5 +1,5 @@ /* libdiskfs implementation of fs.defs: dir_link - Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation + Copyright (C) 1992, 1993, 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 @@ -84,6 +84,8 @@ diskfs_S_dir_link (struct protid *dircred, if (diskfs_synchronous) diskfs_node_update (np, 1); } + else + diskfs_enter_cache (dnp, np, name); if (diskfs_synchronous) diskfs_node_update (dnp, 1); |