aboutsummaryrefslogtreecommitdiff
path: root/sys/isofs
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1997-09-10 19:43:15 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1997-09-10 19:43:15 +0000
commit6bd8bf8d92e13f3bc8e1757eeebb3e9f5829c810 (patch)
tree6cdec91faf8ee372df915adb372d1c1bcd67136c /sys/isofs
parent0765fd9ee9b842a5ec909ef20efea8403d52091f (diff)
Notes
Diffstat (limited to 'sys/isofs')
-rw-r--r--sys/isofs/cd9660/cd9660_lookup.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/isofs/cd9660/cd9660_lookup.c b/sys/isofs/cd9660/cd9660_lookup.c
index 57393df40fa00..d416a985d96c6 100644
--- a/sys/isofs/cd9660/cd9660_lookup.c
+++ b/sys/isofs/cd9660/cd9660_lookup.c
@@ -38,7 +38,7 @@
* from: @(#)ufs_lookup.c 7.33 (Berkeley) 5/19/91
*
* @(#)cd9660_lookup.c 8.2 (Berkeley) 1/23/94
- * $Id: cd9660_lookup.c,v 1.16 1997/08/02 14:31:18 bde Exp $
+ * $Id: cd9660_lookup.c,v 1.17 1997/08/26 07:32:30 phk Exp $
*/
#include <sys/param.h>
@@ -71,9 +71,6 @@
*
* 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
@@ -134,17 +131,6 @@ cd9660_lookup(ap)
wantparent = flags & (LOCKPARENT|WANTPARENT);
/*
- * Check accessiblity of directory.
- */
- if (vdp->v_type != VDIR)
- return (ENOTDIR);
- if (error = VOP_ACCESS(vdp, VEXEC, cred, cnp->cn_proc))
- return (error);
- if ((flags & ISLASTCN) && (vdp->v_mount->mnt_flag & MNT_RDONLY) &&
- (cnp->cn_nameiop == DELETE || cnp->cn_nameiop == RENAME))
- return (EROFS);
-
- /*
* We now have a segment name to search for, and a directory to search.
*/