summaryrefslogtreecommitdiffstats
path: root/sys/isofs
Commit message (Collapse)AuthorAgeFilesLines
* Moved the fsnode MALLOC to before the call to getnewvnode() so that thedg1996-06-121-4/+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.
* First pass at cleaning up macros relating to pages, clusters and all that.phk1996-05-021-2/+2
|
* Provide a better handling of partially corrupted directory entries.joerg1996-03-141-10/+12
| | | | Submitted by: bde
* This commit was generated by cvs2svn to compensate for changes in r14553,peter1996-03-112-11/+54
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, allpeter1996-03-1113-1019/+1107
| | | | | | | | | | | | | | | | | | files are off the vendor branch, so this should not change anything. A "U" marker generally means that the file was not changed in between the 4.4Lite and Lite-2 releases, and does not need a merge. "C" generally means that there was a change. [note, new file: cd9660_mount.h]
* | Added prototypes.bde1995-12-033-32/+79
| | | | | | | | | | | | | | | | | | cd9660_rrip.c: Added lots of bogus casts to hide type errors exposed by the prototypes. (Different structs are assumed to have a common prefix.) cd9660_vnops.c: Finished staticizing.
* | Completed function declarations and/or added prototypes.bde1995-11-211-2/+11
| |
* | Since FreeBSD clustering code now supports filesystems < PAGE_SIZE,dyson1995-11-201-2/+6
| | | | | | | | enable clustering for cd9660, thereby giving a BIG performance boost.
* | Get rid of hostnamelen variable.phk1995-11-141-3/+3
| |
* | Brought in the setattr call support from Lite-2 so that more correct errordg1995-11-121-3/+38
| | | | | | | | | | | | returns are provided. Obtained from: 4.4BSD-Lite2
* | Fix isoilk hang caused by not checking for read-onlyness in several places.dg1995-11-122-3/+19
| | | | | | | | | | | | The fix for this in Lite-2 is more complete, but these quick hacks of mine are safer for now. I plan to integrate the additional Lite-2 stuff at some later time. Should completely fix PR810.
* | Introduced a type `vop_t' for vnode operation functions and usedbde1995-11-093-136/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Make a lot of stuff static.phk1995-10-314-66/+69
| |
* | Finalize GETPAGES layering scheme. Move the device GETPAGESdyson1995-10-231-1/+2
| | | | | | | | | | interface into specfs code. No need at this point to modify the PUTPAGES stuff except in the layered-type (NULL/UNION) filesystems.
* | Moved the filesystem read-only check out of the syscalls and into thedg1995-10-221-1/+4
| | | | | | | | | | | | | | | | filesystem layer, as was done in lite-2. Merged in some other cosmetic changes while I was at it. Rewrote most of msdosfs_access() to be more like ufs_access() and to include the FS read-only check. Obtained from: partially from 4.4BSD-lite2
* | Added VOP_GETPAGES/VOP_PUTPAGES and also the "backwards" block countdyson1995-09-042-3/+8
| | | | | | | | for VOP_BMAP. Updated affected filesystems...
* | Converted mountlist to a CIRCLEQ.dg1995-08-111-2/+2
| | | | | | | | Partially obtained from: 4.4BSD-Lite2
* | Add support for the va_filerev attribute required by NFSv3.dfr1995-08-021-1/+2
| |
* | Change `extern inline' to `static inline' so that several functionsbde1995-07-251-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | don't go away when the kernel is compiled with -O. The functions are backed up by extern versions in cd9660_util.c, but these versions are disabled by `#ifdef __notanymore__'. They could have been enabled by using `#if defined(__notanymore__) || !defined(__OPTIMIZE__)' but then I would have had to check that they still work. The correct way to handle all this is to replace `extern inline' by `EXTERN_INLINE' and define `EXTERN_INLINE' as `extern inline' in most modules and as empty in one module.
* | There is a small bug in the cd9660 code that prevents stating ofjoerg1995-07-161-1/+2
| | | | | | | | | | | | | | | | | | associated files. Submitted by: leo@dachau.marco.de (Matthias Pfaller) Not-obtained from: NetBSD. Instead sent directly to me by Matthias. (Sorry, this is to prevent people from claiming i might have gotten this from NetBSD. :)
* | Remove trailing whitespace.rgrimes1995-05-307-214/+214
| |
* | NFS diskless operation was broken because swapdev_vp wasn't initialized.dg1995-05-191-4/+4
| | | | | | | | | | | | | | These changes solve the problem in a general way by moving the initialization out of the individual fs_mountroot's and into swaponvp(). Submitted by: Poul-Henning Kamp
* | Readdir on a CDrom would return bogus "d_type" values, potentially confusingphk1995-03-281-1/+4
| | | | | | | | | | everybody (incl find(1) ?). Initialize it to DT_UNKNOWN. Maybe we can do better, but I don't have the time.
* | 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-162-7/+5
| | | | | | | | | | | | (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.
* | Obtained from: memories of 1.1.5bde1995-02-211-2/+2
| | | | | | | | Fix the sign of the timezone offset again.
* | strategy for block and char devices are rightfully spec_strategy.phk1995-02-131-3/+2
| | | | | | | | | | I feel like yanking all the "ISODEVMAP" stuff altogether, it looks like a bad kludge...
* | Roll in my changes to make the cd9660 code understand the olderjoerg1995-01-169-105/+191
| | | | | | | | | | | | | | | | | | | | (original "High Sierra") CD format. I've already implemented this for 1.1.5.1 (and posted to -hackers), but didn't get any response to it. Perhaps i'm the only one who has such an old CD lying around... Everything is done empirically, but i had three of them around (from different vendors), so there's a high probability that i've got it right. :)
* | Remove the bogus include of <sys/dkbad.h>.bde1994-11-141-2/+1
| |
* | Use tsleep() rather than sleep so that 'ps' is more informative aboutdg1994-10-061-3/+3
| | | | | | | | the wait.
* | Make NFS ask the filesystems for directory cookies instead of making themdfr1994-09-281-11/+28
| | | | | | | | itself.
* | Alterations to silence gcc -Wall. Some unused variables deleted.gpalmer1994-09-265-58/+49
| | | | | | | | Reviewed by: davidg
* | More loadable VFS changes:wollman1994-09-222-10/+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.
* | Implemented loadable VFS modules, and made most existing filesystemswollman1994-09-212-2/+8
| | | | | | | | loadable. (NFS is a notable exception.)
* | 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).
* | 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-201-5/+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
* | Changed B_AGE policy to work correctly in a world with relatively largedg1994-08-081-4/+1
| | | | | | | | buffer caches. The old policy generally ended up caching nothing.
* | Added $Id$dg1994-08-0211-0/+11
| |
* | The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-255-5/+27
|/ | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-2413-0/+4582
OpenPOWER on IntegriCloud