summaryrefslogtreecommitdiffstats
path: root/sys/fs
Commit message (Collapse)AuthorAgeFilesLines
* Include <sys/kernel.h> not <kernel.h>dg1994-09-231-2/+2
|
* More loadable VFS changes:wollman1994-09-228-18/+13
| | | | | | | | - 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-213-3/+6
| | | | | | | - 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-2119-19/+62
| | | | loadable. (NFS is a notable exception.)
* Changed some NetBSD backwards compatibility code which was confusing mountd.dfr1994-09-191-6/+2
|
* Added msdosfs.dfr1994-09-1912-0/+6301
| | | | Obtained from: NetBSD
* Supply prototypes for some functions that were implicitly declared andbde1994-09-151-2/+3
| | | | fix the resulting warnings.
* Obtained from:bde1994-09-156-17/+24
| | | | | | | | Remove the unnecessary inclusion of disklabel.h in cd9660_vfsops.c so that I don't have to worry about the latter when changing disklabel.h. Supply prototypes for some functions that were implicitly declared and fix the resulting warnings and errors (timevals were punned to timespecs).
* Relaxed panic in fdesc_setattr() to just return error.dg1994-09-091-2/+2
|
* Fixed off by one error in referencing an array.dg1994-09-091-3/+3
| | | | Stolen from: NetBSD
* Fixed some confusion between the size of a logical block and the size of adfr1994-09-093-6/+11
| | | | | | | | | | device block which was stopping symbolic links working. cd9660_readdir was incorrectly casting a pointer to the d_namlen field of a struct dirent to a (u_short*) which caused the directory entries "." and ".." to read incorrectly. Submitted by: dfr
* Implemented filesystem clean bit via:dg1994-08-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | machdep.c: Changed printf's a little and call vfs_unmountall() if the sync was successful. cd9660_vfsops.c, ffs_vfsops.c, nfs_vfsops.c, lfs_vfsops.c: Allow dismount of root FS. It is now disallowed at a higher level. vfs_conf.c: Removed unused rootfs global. vfs_subr.c: Added new routines vfs_unmountall and vfs_unmountroot. Filesystems are now dismounted if the machine is properly rebooted. ffs_vfsops.c: Toggle clean bit at the appropriate places. Print warning if an unclean FS is mounted. ffs_vfsops.c, lfs_vfsops.c: Fix bug in selecting proper flags for VOP_CLOSE(). vfs_syscalls.c: Disallow dismounting root FS via umount syscall.
* 1) cleaned up after Garrett - fixed more redundant declarations, changeddg1994-08-204-11/+6
| | | | | | | | 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
* Fix up some sloppy coding practices:wollman1994-08-182-3/+8
| | | | | | | | | | | | - Delete redundant declarations. - Add -Wredundant-declarations to Makefile.i386 so they don't come back. - Delete sloppy COMMON-style declarations of uninitialized data in header files. - Add a few prototypes. - Clean up warnings resulting from the above. NB: ioconf.c will still generate a redundant-declaration warning, which is unavoidable unless somebody volunteers to make `config' smarter.
* Changed B_AGE policy to work correctly in a world with relatively largedg1994-08-082-8/+2
| | | | buffer caches. The old policy generally ended up caching nothing.
* Added $Id$dg1994-08-0233-27/+33
|
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-2518-13/+117
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-2446-0/+16792
OpenPOWER on IntegriCloud