diff options
author | chris <chris@FreeBSD.org> | 2000-10-09 20:06:13 +0000 |
---|---|---|
committer | chris <chris@FreeBSD.org> | 2000-10-09 20:06:13 +0000 |
commit | 15107f5de5e660c6a74119da824d42fdbcc83e6b (patch) | |
tree | ec0fe40d05c4dd002a31df6d40eb0cb630ad088a /sys/fs/fdescfs/fdesc.h | |
parent | 113a9e1b3545d19a713ce932d8af5394c865f00d (diff) | |
download | FreeBSD-src-15107f5de5e660c6a74119da824d42fdbcc83e6b.zip FreeBSD-src-15107f5de5e660c6a74119da824d42fdbcc83e6b.tar.gz |
o Move from Alfred Perstein's "exclusion" technique of handling special
file types to requiring all file types to properly implement fo_stat.
This makes any new file type additions much easier as this code no
longer has to be modified to accomodate it.
o Instead of using curproc in fdesc_allocvp, pass a `struct proc' pointer as
a new fifth parameter.
Diffstat (limited to 'sys/fs/fdescfs/fdesc.h')
-rw-r--r-- | sys/fs/fdescfs/fdesc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/fdescfs/fdesc.h b/sys/fs/fdescfs/fdesc.h index 6d2d201..b78d132 100644 --- a/sys/fs/fdescfs/fdesc.h +++ b/sys/fs/fdescfs/fdesc.h @@ -64,5 +64,6 @@ struct fdescnode { extern int fdesc_init __P((struct vfsconf *)); extern int fdesc_root __P((struct mount *, struct vnode **)); -extern int fdesc_allocvp __P((fdntype, int, struct mount *, struct vnode **)); +extern int fdesc_allocvp __P((fdntype, int, struct mount *, struct vnode **, + struct proc *)); #endif /* _KERNEL */ |