summaryrefslogtreecommitdiffstats
path: root/sys/gnu/fs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-09-10 19:39:03 +0000
committerphk <phk@FreeBSD.org>1997-09-10 19:39:03 +0000
commita5f03d21168831d040f3c686104ce4eb0b84dcaa (patch)
tree22c7013c5be115c37aa3630ae205061e2eb0ab5d /sys/gnu/fs
parente1818cc172675247a3189ca3f3ce6286b7243b23 (diff)
downloadFreeBSD-src-a5f03d21168831d040f3c686104ce4eb0b84dcaa.zip
FreeBSD-src-a5f03d21168831d040f3c686104ce4eb0b84dcaa.tar.gz
Remove some stuff from lookup which is now handled centrally.
Diffstat (limited to 'sys/gnu/fs')
-rw-r--r--sys/gnu/fs/ext2fs/ext2_lookup.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_lookup.c b/sys/gnu/fs/ext2fs/ext2_lookup.c
index 431a52b..07991e9 100644
--- a/sys/gnu/fs/ext2fs/ext2_lookup.c
+++ b/sys/gnu/fs/ext2fs/ext2_lookup.c
@@ -252,9 +252,6 @@ printf("ext2_readdir called uio->uio_offset %d uio->uio_resid %d count %d \n",
*
* Overall outline of ufs_lookup:
*
- * check accessibility of directory
- * look for name in cache, if found, then if at end of path
- * and deleting or creating, drop it, else return name
* search for name in directory, to found or notfound
* notfound:
* if creating, return locked directory, leaving info on available slots
@@ -312,14 +309,6 @@ ext2_lookup(ap)
wantparent = flags & (LOCKPARENT|WANTPARENT);
/*
- * Check accessiblity of directory.
- */
- if ((dp->i_mode & IFMT) != IFDIR)
- return (ENOTDIR);
- if (error = VOP_ACCESS(vdp, VEXEC, cred, cnp->cn_proc))
- return (error);
-
- /*
* We now have a segment name to search for, and a directory to search.
*/
OpenPOWER on IntegriCloud