From a035c1dc3e8f671ee17ee5c12870c6fed78a93b8 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Tue, 14 Jul 1998 20:50:32 +0000 Subject: Tue Jul 14 16:27:00 1998 Thomas Bushnell, n/BSG * dir-lookup.c (diskfs_S_dir_lookup): Don't require the node to be a directory in the null pathname case. (Thus reverting one of the changes of June 15, 1994.) --- libdiskfs/dir-lookup.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libdiskfs/dir-lookup.c') diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c index 9946300c..a75ac05d 100644 --- a/libdiskfs/dir-lookup.c +++ b/libdiskfs/dir-lookup.c @@ -1,5 +1,5 @@ /* libdiskfs implementation of fs.defs:dir_lookup - Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997 Free Software Foundation + Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998 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 @@ -76,8 +76,6 @@ diskfs_S_dir_lookup (struct protid *dircred, if (path[0] == '\0') { - mustbedir = 1; - /* Set things up in the state expected by the code from gotit: on. */ dnp = 0; np = dircred->po->np; -- cgit v1.2.3