diff options
author | phk <phk@FreeBSD.org> | 1997-09-10 19:44:36 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-09-10 19:44:36 +0000 |
commit | 577767a73abf60545bf417da9734d3351f4b3e5a (patch) | |
tree | 9a021f6dc6c5f33c03eb26500bd89f6fecda1181 /sys/fs | |
parent | e46083ff2604ff2b7570e358fd6f922b002544ab (diff) | |
download | FreeBSD-src-577767a73abf60545bf417da9734d3351f4b3e5a.zip FreeBSD-src-577767a73abf60545bf417da9734d3351f4b3e5a.tar.gz |
Fix a type in a comment and remove some checks now done centrally.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/msdosfs/msdosfs_lookup.c | 12 |
1 files changed, 2 insertions, 10 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. |