summaryrefslogtreecommitdiff
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
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.)
-rw-r--r--libdiskfs/ChangeLog6
-rw-r--r--libdiskfs/dir-lookup.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog
index b1018988..1d6e0143 100644
--- a/libdiskfs/ChangeLog
+++ b/libdiskfs/ChangeLog
@@ -1,3 +1,9 @@
+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.)
+
Mon Jun 29 18:54:23 1998 Thomas Bushnell, n/BSG <tb@mit.edu>
* lookup.c (diskfs_lookup): If NAME is empty, return an error.
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;