summaryrefslogtreecommitdiffstats
path: root/sys/fs/unionfs/union_subr.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed unused #includes.bde1997-08-021-4/+1
|
* Do not set the uppervp to NULLVP in union_removed_upper. If lowervpkato1997-04-161-1/+16
| | | | | | | | | | | | is NULLVP, union node will have neither uppervp nor lowervp. This causes page fault trap. The union_removed_upper just remove union node from cache and it doesn't set uppervp to NULLVP. Since union node is removed from cache, it will not be referenced. The code that remove union node from cache was copied from union_inactive.
* The path name buffer, cn->cn_pnbuf, is FREEed by VOP_MKDIR whenphk1997-04-131-1/+5
| | | | | | | | | | relookup() in union_relookup() is succeeded. However, if relookup() returns non-zero value, that is relookup fails, VOP_MKDIR is never called (c.f. union_mkshadow). Thus, pathname buffer is never FREEed. Reviewed by: phk Submitted by: kato PR: 3262
* Though malloc allocates only cn.cn_namelen bytes for cn.cn_pnbuf inphk1997-04-131-2/+2
| | | | | | | | | union_vn_create(), following bcopy copies cn.cn_namlen + 1 bytes to cn.cn_pnbuf PR: 3255 Reviewed by: phk Submitted by: kato
* Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.bde1997-03-231-2/+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-221-1/+1
| | | | ready for it yet.
* Added parameter names to prototypes that were added in the last commit tobde1997-02-121-4/+7
| | | | match nearby style.
* Add function protypes for the new Lite2 unionfs functions.mpp1997-02-121-0/+4
|
* Add function prototypes for most of the new Lite2 functions.mpp1997-02-121-1/+2
| | | | | | 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-101-99/+439
| | | | | | | | | | | | | | | 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-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.
* Added prototypes.bde1995-12-031-1/+9
| | | | Removed some unnecessary #includes.
* The `cred' and `proc' args were missing for some VOP_OPEN() and VOP_CLOSE()bde1995-08-171-2/+2
| | | | | | | | calls. Found by: gcc -Wstrict-prototypes after I supplied some of the 5000+ missing prototypes. Now I have 9000+ lines of warnings and errors about bogus conversions of function pointers.
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* Cosmetics. reduce the noise from gcc -Wall.phk1994-10-101-7/+9
|
* Use tsleep() rather than sleep so that 'ps' is more informative aboutdg1994-10-061-3/+3
| | | | the wait.
* Added $Id$dg1994-08-021-0/+1
|
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-251-4/+3
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+744
OpenPOWER on IntegriCloud