diff options
| author | Dmitrij Tejblum <dt@FreeBSD.org> | 1998-06-25 16:54:41 +0000 |
|---|---|---|
| committer | Dmitrij Tejblum <dt@FreeBSD.org> | 1998-06-25 16:54:41 +0000 |
| commit | 6bfc1a02b121816ebbe6b38f2879445550b2ea82 (patch) | |
| tree | 66c990e896f217242ed2076c8dd4dc7ed2001cb7 /sys/fs | |
| parent | b62591052cd21c57c2473af596c102447929bbce (diff) | |
Notes
Diffstat (limited to 'sys/fs')
| -rw-r--r-- | sys/fs/procfs/procfs_vnops.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/sys/fs/procfs/procfs_vnops.c b/sys/fs/procfs/procfs_vnops.c index 1e4c388d9a23..fb1a560e8bff 100644 --- a/sys/fs/procfs/procfs_vnops.c +++ b/sys/fs/procfs/procfs_vnops.c @@ -36,7 +36,7 @@ * * @(#)procfs_vnops.c 8.18 (Berkeley) 5/21/95 * - * $Id: procfs_vnops.c,v 1.58 1998/06/10 06:34:57 peter Exp $ + * $Id: procfs_vnops.c,v 1.59 1998/06/14 12:53:39 bde Exp $ */ /* @@ -799,8 +799,8 @@ procfs_readdir(ap) struct uio *a_uio; struct ucred *a_cred; int *a_eofflag; - u_long *a_cookies; - int a_ncookies; + int *a_ncookies; + u_long **a_cookies; } */ *ap; { struct uio *uio = ap->a_uio; @@ -809,13 +809,6 @@ procfs_readdir(ap) struct pfsnode *pfs; int count, error, i, off; - /* - * We don't allow exporting procfs mounts, and currently local - * requests do not need cookies. - */ - if (ap->a_ncookies) - panic("procfs_readdir: not hungry"); - pfs = VTOPFS(ap->a_vp); off = (int)uio->uio_offset; |
