summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/msdosfs/msdosfs_lookup.c12
-rw-r--r--sys/msdosfs/msdosfs_lookup.c12
2 files changed, 4 insertions, 20 deletions
diff --git a/sys/fs/msdosfs/msdosfs_lookup.c b/sys/fs/msdosfs/msdosfs_lookup.c
index 7660bf0..b757cf0 100644
--- a/sys/fs/msdosfs/msdosfs_lookup.c
+++ b/sys/fs/msdosfs/msdosfs_lookup.c
@@ -1,4 +1,4 @@
-/* $Id: msdosfs_lookup.c,v 1.12 1997/08/26 07:32:38 phk Exp $ */
+/* $Id: msdosfs_lookup.c,v 1.13 1997/09/02 20:06:17 bde Exp $ */
/* $NetBSD: msdosfs_lookup.c,v 1.14 1994/08/21 18:44:07 ws Exp $ */
/*-
@@ -72,7 +72,7 @@ static int markdeleted __P((struct msdosfsmount *pmp, u_long dirclust,
* an inode). This can cause problems if we are searching while some other
* process is modifying a directory. To prevent one process from accessing
* incompletely modified directory information we depend upon being the
- * soul owner of a directory block. bread/brelse provide this service.
+ * sole owner of a directory block. bread/brelse provide this service.
* This being the case, when a process modifies a directory it must first
* acquire the disk block that contains the directory entry to be modified.
* Then update the disk block and the denode, and then write the disk block
@@ -132,14 +132,6 @@ msdosfs_lookup(ap)
#endif
/*
- * Be sure vdp is a directory. Since dos filesystems don't have
- * the concept of execute permission anybody can search a
- * directory.
- */
- if ((dp->de_Attributes & ATTR_DIRECTORY) == 0)
- return ENOTDIR;
-
- /*
* If they are going after the . or .. entry in the root directory,
* they won't find it. DOS filesystems don't have them in the root
* directory. So, we fake it. deget() is in on this scam too.
diff --git a/sys/msdosfs/msdosfs_lookup.c b/sys/msdosfs/msdosfs_lookup.c
index 7660bf0..b757cf0 100644
--- a/sys/msdosfs/msdosfs_lookup.c
+++ b/sys/msdosfs/msdosfs_lookup.c
@@ -1,4 +1,4 @@
-/* $Id: msdosfs_lookup.c,v 1.12 1997/08/26 07:32:38 phk Exp $ */
+/* $Id: msdosfs_lookup.c,v 1.13 1997/09/02 20:06:17 bde Exp $ */
/* $NetBSD: msdosfs_lookup.c,v 1.14 1994/08/21 18:44:07 ws Exp $ */
/*-
@@ -72,7 +72,7 @@ static int markdeleted __P((struct msdosfsmount *pmp, u_long dirclust,
* an inode). This can cause problems if we are searching while some other
* process is modifying a directory. To prevent one process from accessing
* incompletely modified directory information we depend upon being the
- * soul owner of a directory block. bread/brelse provide this service.
+ * sole owner of a directory block. bread/brelse provide this service.
* This being the case, when a process modifies a directory it must first
* acquire the disk block that contains the directory entry to be modified.
* Then update the disk block and the denode, and then write the disk block
@@ -132,14 +132,6 @@ msdosfs_lookup(ap)
#endif
/*
- * Be sure vdp is a directory. Since dos filesystems don't have
- * the concept of execute permission anybody can search a
- * directory.
- */
- if ((dp->de_Attributes & ATTR_DIRECTORY) == 0)
- return ENOTDIR;
-
- /*
* If they are going after the . or .. entry in the root directory,
* they won't find it. DOS filesystems don't have them in the root
* directory. So, we fake it. deget() is in on this scam too.
OpenPOWER on IntegriCloud