summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs/procfs_vfsops.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-06-13 20:53:16 +0000
committerphk <phk@FreeBSD.org>1999-06-13 20:53:16 +0000
commitb4c0c39b6e51cd4882757285e80ffdc32bf53e00 (patch)
tree0024e1db745961acdc896d6d54bcf969ff8a4eac /sys/fs/procfs/procfs_vfsops.c
parentad6621b237627767b1be38fa484f011b95c9a5cd (diff)
downloadFreeBSD-src-b4c0c39b6e51cd4882757285e80ffdc32bf53e00.zip
FreeBSD-src-b4c0c39b6e51cd4882757285e80ffdc32bf53e00.tar.gz
Eliminate the bogus procfs private almost struct dirent structure.
Spotted by: Lars Hamren Reviewed by: bde
Diffstat (limited to 'sys/fs/procfs/procfs_vfsops.c')
-rw-r--r--sys/fs/procfs/procfs_vfsops.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/fs/procfs/procfs_vfsops.c b/sys/fs/procfs/procfs_vfsops.c
index ac1ab53..2c22020 100644
--- a/sys/fs/procfs/procfs_vfsops.c
+++ b/sys/fs/procfs/procfs_vfsops.c
@@ -36,7 +36,7 @@
*
* @(#)procfs_vfsops.c 8.7 (Berkeley) 5/10/95
*
- * $Id: procfs_vfsops.c,v 1.25 1998/07/27 22:47:17 alex Exp $
+ * $Id: procfs_vfsops.c,v 1.26 1998/09/07 13:17:01 bde Exp $
*/
/*
@@ -78,11 +78,6 @@ procfs_mount(mp, path, data, ndp, p)
size_t size;
int error;
- if (UIO_MX & (UIO_MX-1)) {
- log(LOG_ERR, "procfs: invalid directory entry size\n");
- return (EINVAL);
- }
-
if (mp->mnt_flag & MNT_UPDATE)
return (EOPNOTSUPP);
OpenPOWER on IntegriCloud