summaryrefslogtreecommitdiffstats
path: root/sys/ufs/lfs/lfs_alloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove an overlapping variable I created in last round.phk1997-10-161-2/+1
| | | | | | | | Don't do pointer subtraction on void * Use VOP_STRATEGY instead of homegrown stuff. Add an XXX warning for LFS freaks to ponder.
* VFS mega cleanup commit (x/N)phk1997-10-161-19/+15
| | | | | | | | | | | | | | | | | | | | | | | 1. Add new file "sys/kern/vfs_default.c" where default actions for VOPs go. Implement proper defaults for ABORTOP, BWRITE, LEASE, POLL, REVOKE and STRATEGY. Various stuff spread over the entire tree belongs here. 2. Change VOP_BLKATOFF to a normal function in cd9660. 3. Kill VOP_BLKATOFF, VOP_TRUNCATE, VOP_VFREE, VOP_VALLOC. These are private interface functions between UFS and the underlying storage manager layer (FFS/LFS/MFS/EXT2FS). The functions now live in struct ufsmount instead. 4. Remove a kludge of VOP_ functions in all filesystems, that did nothing but obscure the simplicity and break the expandability. If a filesystem doesn't implement VOP_FOO, it shouldn't have an entry for it in its vnops table. The system will try to DTRT if it is not implemented. There are still some cruft left, but the bulk of it is done. 5. Fix another VCALL in vfs_cache.c (thanks Bruce!)
* I think my previous change may have opened a race conditio.phk1997-10-141-3/+1
| | | | This patch does the same thing, with no change in semantics.
* ufs_ihashrem() should not be called from the UFS layer, but from thephk1997-10-141-1/+3
| | | | | | lower layer (LFS/FFS/?) like the rest of the ihash functions. Otherwise it is impossible to make a lower layer that doesn't use the ihash facility.
* Removed unused #includes.bde1997-08-021-3/+1
|
* Merged the rest of lfs from Lite2. It compiles (uncleanly) but is asbde1997-03-231-8/+7
| | | | unlikely to work as before.
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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-2/+9
| | | | | | | | 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>
* Convert QUOTA to new-style option.wollman1996-01-051-1/+3
|
* Untangled the vm.h include file spaghetti.dg1995-12-071-1/+3
|
* Make vegetarian and animal rights people happy and use 0xdeadc0de insteaddg1995-04-161-3/+3
| | | | of 0xdeadbeef as the 'spare' value.
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-281-1/+2
| | | | | (except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
* Removed redundant newlines that were in some panic strings.dg1995-03-191-2/+2
|
* Cosmetics. make gcc less noisy. Still some way to go here.phk1994-10-101-1/+2
|
* "bogus" fixes from 1.1.5 to work around some cache coherency problems.dg1994-08-291-2/+1
|
* 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-0/+1
|
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+251
OpenPOWER on IntegriCloud