summaryrefslogtreecommitdiffstats
path: root/sys/fs/portalfs
Commit message (Collapse)AuthorAgeFilesLines
* Stylistic overhaul of vnops tables.phk1997-10-151-49/+43
| | | | | | | 1. Remove comment stating the blatantly obvious. 2. Align in two columns. 3. Sort all but the default element alphabetically. 4. Remove XXX comments pointing out entries not needed.
* Last major round (Unless Bruce thinks of somthing :-) of malloc changes.phk1997-10-121-4/+6
| | | | | | | | Distribute all but the most fundamental malloc types. This time I also remembered the trick to making things static: Put "static" in front of them. A couple of finer points by: bde
* Convert select -> poll.peter1997-09-141-3/+9
| | | | | Delete 'always succeed' select/poll handlers, replaced with generic call. Flag missing vnode op table entries.
* Some staticized variables were still declared to be extern.bde1997-09-071-2/+1
|
* Fix all areas of the system (or at least all those in LINT) to avoid storingwollman1997-08-162-9/+8
| | | | | | | | socket addresses in mbufs. (Socket buffers are the one exception.) A number of kernel APIs needed to get fixed in order to make this happen. Also, fix three protocol families which kept PCBs in mbufs to not malloc them instead. Delete some old compatibility cruft while we're at it, and add some new routines in the in_cksum family.
* Removed unused #includes.bde1997-08-022-9/+2
|
* Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.bde1997-03-231-1/+2
| | | | | Fixed everything that depended on getting fcntl.h stuff from the wrong place. Most things don't depend on file.h stuff at all.
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-223-3/+3
| | | | ready for it yet.
* Add function prototypes for most of the new Lite2 functions.mpp1997-02-121-0/+1
| | | | | | Also made a few of the miscfs routines static to be consistent. Some modules simply required some additional #includes to remove -Wall warnings.
* This is the kernel Lite/2 commit. There are some requisite userlanddyson1997-02-102-94/+60
| | | | | | | | | | | | | | | changes, so don't expect to be able to run the kernel as-is (very well) without the appropriate Lite/2 userland changes. The system boots and can mount UFS filesystems. Untested: ext2fs, msdosfs, NFS Known problems: Incorrect Berkeley ID strings in some files. Mount_std mounts will not work until the getfsent library routine is changed. Reviewed by: various people Submitted by: Jeffery Hsu <hsu@freebsd.org>
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Eliminated nested include of <sys/unistd.h> in <sys/file.h> in the kernel.bde1996-09-031-1/+2
| | | | | | | Include it directly in the few places where it is used. Reduced some #includes of <sys/file.h> to #includes of <sys/fcntl.h> or nothing.
* Clean up -Wunused warnings.gpalmer1996-06-121-12/+1
| | | | Reviewed by: bde
* Moved the fsnode MALLOC to before the call to getnewvnode() so that thedg1996-06-122-12/+25
| | | | | | | | process won't possibly block before filling in the fsnode pointer (v_data) which might be dereferenced during a sync since the vnode is put on the mnt_vnodelist by getnewvnode. Pointed out by Matt Day <mday@artisoft.com>
* Kill XNS.wollman1996-02-131-2/+2
| | | | | While we're at it, fix socreate() to take a process argument. (This was supposed to get committed days ago...)
* Staticize.phk1995-12-112-53/+53
|
* Added prototypes.bde1995-12-031-2/+18
| | | | Removed some unnecessary #includes.
* Fixed the type of portal_sync(). Trailing args were missing.bde1995-11-161-3/+28
| | | | | | | Fixed the type of portal_fhtovp(). The args had little resemblance to the correct ones. Added prototypes.
* Introduced a type `vop_t' for vnode operation functions and usedbde1995-11-092-46/+46
| | | | | | | | | | | | | | | it 1138 times (:-() in casts and a few more times in declarations. This change is null for the i386. The type has to be `typedef int vop_t(void *)' and not `typedef int vop_t()' because `gcc -Wstrict-prototypes' warns about the latter. Since vnode op functions are called with args of different (struct pointer) types, neither of these function types is any use for type checking of the arg, so it would be preferable not to use the complete function type, especially since using the complete type requires adding 1138 casts to avoid compiler warnings and another 40+ casts to reverse the function pointer conversions before calling the functions.
* Add #include <sys/sysproto.h> to get struct close_args and closeswallace1995-10-081-1/+2
| | | | function prototype.
* Remove trailing whitespace.rgrimes1995-05-302-6/+6
|
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-281-4/+2
| | | | | (except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
* Add four more filesystem flags:wollman1995-03-161-2/+2
| | | | | | | | | | VFCF_NETWORK (this FS goes over the net) VFCF_READONLY (read-write mounts do not make any sense) VFCF_SYNTHETIC (data in this FS is not real) VFCF_LOOPBACK (this FS aliases something else) cd9660 is readonly; nullfs, umapfs, and union are loopback; NFS is netowkr; procfs, kernfs, and fdesc are synthetic.
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-161-2/+1
| | | | | | (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
* Cosmetics. reduce the noise from gcc -Wall.phk1994-10-101-4/+7
|
* Include <sys/kernel.h> not <kernel.h>dg1994-09-231-2/+2
|
* More loadable VFS changes:wollman1994-09-221-1/+2
| | | | | | | | - Make a number of filesystems work again when they are statically compiled (blush) - FIFOs are no longer optional; ``options FIFO'' removed from distributed config files.
* Implemented loadable VFS modules, and made most existing filesystemswollman1994-09-212-2/+6
| | | | loadable. (NFS is a notable exception.)
* 1) cleaned up after Garrett - fixed more redundant declarations, changeddg1994-08-201-2/+3
| | | | | | | | use of timeout_t -> timeout_func_t in aha1542 and aha1742 drivers. 2) fix a bug in the portalfs that was uncovered by better prototyping - specifically, the time must be converted from timeval to timespec before storing in va_atime. 3) fixed/added some miscellaneous prototypes
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-251-0/+1
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-243-0/+1092
OpenPOWER on IntegriCloud