From 6a653653efaf0ccded25d2faeaa947161d73c099 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 19 Mar 1996 20:14:10 +0000 Subject: (diskfs_S_dir_link): Call diskfs_enter_cache if diskfs_direnter is successful. --- libdiskfs/dir-link.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libdiskfs') 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); -- cgit v1.2.3