summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-lookup.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1998-07-14 20:50:32 +0000
committerThomas Bushnell <thomas@gnu.org>1998-07-14 20:50:32 +0000
commita035c1dc3e8f671ee17ee5c12870c6fed78a93b8 (patch)
treec1dcbbab0a2bdf635ada4fc7d1e9c9b436bc3364 /libdiskfs/dir-lookup.c
parent8681d2dd187f677357f78a1b151bb617284ab43b (diff)
Tue Jul 14 16:27:00 1998 Thomas Bushnell, n/BSG <tb@mit.edu>
* 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.)
Diffstat (limited to 'libdiskfs/dir-lookup.c')
-rw-r--r--libdiskfs/dir-lookup.c4
1 files changed, 1 insertions, 3 deletions
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;