aboutsummaryrefslogtreecommitdiff
path: root/sys/miscfs/nullfs
Commit message (Collapse)AuthorAgeFilesLines
* Moved the fsnode MALLOC to before the call to getnewvnode() so that theDavid Greenman1996-06-121-3/+11
| | | | | | | | | | | 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> Notes: svn path=/head/; revision=16312
* Staticize.Poul-Henning Kamp1995-12-112-40/+43
| | | | Notes: svn path=/head/; revision=12769
* Added prototypes.Bruce Evans1995-12-033-6/+41
| | | | | | | Removed some unnecessary #includes. Notes: svn path=/head/; revision=12595
* null_node_find() and umap_node_find() were sometimes called without aBruce Evans1995-12-031-2/+2
| | | | | | | `struct mount *' arg. I don't know what the effects of this were. Notes: svn path=/head/; revision=12594
* Introduced a type `vop_t' for vnode operation functions and usedBruce Evans1995-11-092-12/+12
| | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=12158
* Remove trailing whitespace.Rodney W. Grimes1995-05-302-14/+14
| | | | Notes: svn path=/head/; revision=8876
* Removed redundant newlines that were in some panic strings.David Greenman1995-03-191-2/+2
| | | | Notes: svn path=/head/; revision=7170
* Add four more filesystem flags:Garrett 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. Notes: svn path=/head/; revision=7095
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'Bruce Evans1995-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. Notes: svn path=/head/; revision=7090
* Cosmetics. reduce the noise from gcc -Wall.Poul-Henning Kamp1994-10-102-7/+11
| | | | Notes: svn path=/head/; revision=3496
* GCC cleanup.Poul-Henning Kamp1994-10-021-7/+11
| | | | | | | | | Reviewed by: Submitted by: Obtained from: Notes: svn path=/head/; revision=3311
* More loadable VFS changes:Garrett 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. Notes: svn path=/head/; revision=2979
* Fix a few niggling little bugs:Garrett Wollman1994-09-211-1/+2
| | | | | | | | | | - set args->lkm_offset correctly so that VFS modules can be unloaded - initialize _fs_vfsops.vfc_refcount correctly so that VFS modules can be unloaded - include kernel.h in a few placves to get the correct definition of DATA_SET Notes: svn path=/head/; revision=2960
* Implemented loadable VFS modules, and made most existing filesystemsGarrett Wollman1994-09-212-2/+6
| | | | | | | loadable. (NFS is a notable exception.) Notes: svn path=/head/; revision=2946
* 1) cleaned up after Garrett - fixed more redundant declarations, changedDavid Greenman1994-08-201-2/+1
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=2142
* Added $Id$David Greenman1994-08-021-5/+1
| | | | Notes: svn path=/head/; revision=1817
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.Rodney W. Grimes1994-05-251-0/+2
| | | | | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman Notes: svn path=/head/; revision=1549
* BSD 4.4 Lite Kernel SourcesRodney W. Grimes1994-05-244-0/+1196
Notes: svn path=/head/; revision=1541