summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-20 21:02:17 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-20 21:02:17 +0000
commit7b66e876d196d610680bcb8adb2cf40b33b59640 (patch)
treeaf09f9db2891a2662478e91e651f6d7c8098286e
parentdb94da4c86489af26af2d8040b4b5f8b3d1104b3 (diff)
(diskfs_lookup_hard): Don't do initial permission checking here.
-rw-r--r--ufs/dir.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ufs/dir.c b/ufs/dir.c
index 16364071..73ed5f02 100644
--- a/ufs/dir.c
+++ b/ufs/dir.c
@@ -120,12 +120,6 @@ diskfs_lookup_hard (struct node *dp, char *name, enum lookup_type type,
if (namelen > MAXNAMLEN)
return ENAMETOOLONG;
- if (!S_ISDIR (dp->dn_stat.st_mode))
- return ENOTDIR;
- err = diskfs_access (dp, S_IEXEC, cred);
- if (err)
- return err;
-
try_again:
if (ds)
{