aboutsummaryrefslogtreecommitdiff
path: root/sys/miscfs/nullfs
Commit message (Collapse)AuthorAgeFilesLines
...
* Stylistic overhaul of vnops tables.Poul-Henning Kamp1997-10-151-17/+14
| | | | | | | | | | 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. Notes: svn path=/head/; revision=30431
* Last major round (Unless Bruce thinks of somthing :-) of malloc changes.Poul-Henning Kamp1997-10-121-5/+7
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=30354
* Executing binaries on a nullfs (or nullfs-based) filesystem results inPoul-Henning Kamp1997-09-181-3/+4
| | | | | | | | | | a trap. PR: 3104 Reviewed by: phk Submitted by: Dan Walters hannibal@cyberstation.net Notes: svn path=/head/; revision=29584
* Some staticized variables were still declared to be extern.Bruce Evans1997-09-071-2/+1
| | | | Notes: svn path=/head/; revision=29179
* Include "opt_ddb.h" only when NULLFS_DIAGNOSTIC is defined.KATO Takenori1997-08-281-3/+3
| | | | Notes: svn path=/head/; revision=28844
* Fixed NULLFS_DIAGNOSTIC stuff.KATO Takenori1997-08-271-2/+11
| | | | Notes: svn path=/head/; revision=28832
* Fix all areas of the system (or at least all those in LINT) to avoid storingGarrett Wollman1997-08-161-4/+5
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=28270
* Removed unused #includes.Bruce Evans1997-08-023-12/+4
| | | | Notes: svn path=/head/; revision=27845
* More comment cleanup.Alexander Langer1997-06-261-5/+5
| | | | Notes: svn path=/head/; revision=26964
* Typo police.Alexander Langer1997-06-261-3/+3
| | | | Notes: svn path=/head/; revision=26963
* Fix some warnings (missing prototypes, wrong "generic" args etc)Peter Wemm1997-05-252-4/+5
| | | | | | | umapfs uses one of nullfs's functions... Notes: svn path=/head/; revision=26111
* Avoid `lock against myself' panic by following operation:KATO Takenori1997-04-191-4/+17
| | | | | | | | | | | | | # mount -t union (or null) dir1 dir2 # mount -t union (or null) dir2 dir1 The function namei in union_mount calls union_root. The upper vnode has been already locked and vn_lock in union_root causes above panic. Add printf's included in `#ifdef DIAGNOSTIC' for EDEADLK cases. Notes: svn path=/head/; revision=25016
* Fix `locking against myself' panic by multi nullfs mount of sameKATO Takenori1997-04-171-1/+25
| | | | | | | directory pair. Notes: svn path=/head/; revision=24988
* Use NULLVP instead of NULL.KATO Takenori1997-04-173-11/+11
| | | | Notes: svn path=/head/; revision=24987
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notPeter Wemm1997-02-224-5/+5
| | | | | | | ready for it yet. Notes: svn path=/head/; revision=22975
* Eliminate the last of the compile warnings in this module byMike Pritchard1997-02-121-7/+7
| | | | | | | correctly casting the arguments to all of the null_bypass() calls. Notes: svn path=/head/; revision=22607
* Restore of #include <sys/kernel.h> so that this compiles withoutMike Pritchard1997-02-121-0/+1
| | | | | | | warnings again. Notes: svn path=/head/; revision=22605
* Make this compile again after the Lite2 merge.Mike Pritchard1997-02-123-8/+12
| | | | | | | Also add missing function prototypes. Notes: svn path=/head/; revision=22597
* This is the kernel Lite/2 commit. There are some requisite userlandJohn Dyson1997-02-104-72/+236
| | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=22521
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-144-4/+4
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* 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