summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/nullfs
Commit message (Collapse)AuthorAgeFilesLines
* Include "opt_ddb.h" only when NULLFS_DIAGNOSTIC is defined.kato1997-08-281-3/+3
|
* Fixed NULLFS_DIAGNOSTIC stuff.kato1997-08-271-2/+11
|
* Fix all areas of the system (or at least all those in LINT) to avoid storingwollman1997-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.
* Removed unused #includes.bde1997-08-023-12/+4
|
* More comment cleanup.alex1997-06-261-5/+5
|
* Typo police.alex1997-06-261-3/+3
|
* Fix some warnings (missing prototypes, wrong "generic" args etc)peter1997-05-252-4/+5
| | | | umapfs uses one of nullfs's functions...
* Avoid `lock against myself' panic by following operation:kato1997-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.
* Fix `locking against myself' panic by multi nullfs mount of samekato1997-04-171-1/+25
| | | | directory pair.
* Use NULLVP instead of NULL.kato1997-04-173-11/+11
|
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-224-5/+5
| | | | ready for it yet.
* Eliminate the last of the compile warnings in this module bympp1997-02-121-7/+7
| | | | correctly casting the arguments to all of the null_bypass() calls.
* Restore of #include <sys/kernel.h> so that this compiles withoutmpp1997-02-121-0/+1
| | | | warnings again.
* Make this compile again after the Lite2 merge.mpp1997-02-123-8/+12
| | | | Also add missing function prototypes.
* This is the kernel Lite/2 commit. There are some requisite userlanddyson1997-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>
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Moved the fsnode MALLOC to before the call to getnewvnode() so that thedg1996-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>
* Staticize.phk1995-12-112-40/+43
|
* Added prototypes.bde1995-12-033-6/+41
| | | | Removed some unnecessary #includes.
* null_node_find() and umap_node_find() were sometimes called without abde1995-12-031-2/+2
| | | | `struct mount *' arg. I don't know what the effects of this were.
* Introduced a type `vop_t' for vnode operation functions and usedbde1995-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.
* Remove trailing whitespace.rgrimes1995-05-302-14/+14
|
* Removed redundant newlines that were in some panic strings.dg1995-03-191-2/+2
|
* 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-102-7/+11
|
* GCC cleanup.phk1994-10-021-7/+11
| | | | | | Reviewed by: Submitted by: Obtained from:
* 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.
* Fix a few niggling little bugs: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
* 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/+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
* Added $Id$dg1994-08-021-5/+1
|
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-251-0/+2
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-244-0/+1196
OpenPOWER on IntegriCloud