Commit Graph

21 Commits

Author SHA1 Message Date
fvdl
8b21bbed9b Implement similar fix as in the NQNFS fix from BSDI, to avoid race conditions
when unmounting. It cleans up the loop a bit too.
1997-02-22 03:25:05 +00:00
cgd
90688fce27 Change the second and third args to struct vfsops' (*vfs_mount)() to
'const char *', and 'void *', respectively.  The second arg is taken directly
from user arguments, and is const there, so must be const in the prototypes
and functions.  The third arg is also taken directly from user arguments.
It doesn't have to be changed, but since it's cleaner to keep the type
the same as the user arg's type, and I'm already making the 'const char *'
change...
1996-12-22 10:10:12 +00:00
christos
90c7de0919 revert previous kprintf changes 1996-10-12 21:58:44 +00:00
christos
de1b2b437e printf -> kprintf, sprintf -> ksprintf 1996-10-10 17:16:17 +00:00
mycroft
2bc736661a Implement poll(2). 1996-09-07 12:40:22 +00:00
mycroft
c52352c819 Add a set of generic file system operations that most file systems use.
Also, fix some time stamp bogosities.
1996-09-01 23:47:48 +00:00
christos
48fda0b4ca Fix printf format strings 1996-03-17 02:16:18 +00:00
cgd
9c95634273 in mfs_print: mfs_baseoff is a pointer, should be printed as %p, and
should NOT be cast to unsigned int.
1996-02-21 00:06:45 +00:00
christos
573481f5fc mfs prototypes 1996-02-09 22:31:27 +00:00
mycroft
b2f17c7648 Do any pending I/O before trying to unmount, per John Kohl. 1995-09-01 19:39:18 +00:00
cgd
8f62c773e8 don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN 1995-06-18 14:45:14 +00:00
mycroft
2f805fa51b copy*str() should use size_t. 1995-03-09 12:05:21 +00:00
cgd
ad86c7f247 size for copyinstr should be u_long 1995-03-08 01:51:49 +00:00
mycroft
41f181e0d8 Clean up the code to frob mnt_stat a bit. 1995-01-18 09:44:34 +00:00
mycroft
9843f45605 Turn mountlist into a CIRCLEQ, and handle setting and checking of MNT_ROOTFS
differently.
1995-01-18 06:19:49 +00:00
mycroft
b4aa6d3a28 Call foo_statfs() from a common place when mounting. 1994-12-15 19:46:08 +00:00
mycroft
a63cb01c7d Sync with CSRG. 1994-12-14 13:03:35 +00:00
cgd
6ac2bbfc35 be more careful with types, also pull in headers where necessary. 1994-10-30 21:43:03 +00:00
cgd
fccfa11af5 New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:39:25 +00:00
cgd
2dea3cacb5 kill #ifdefs for vax/tahoe w/old vm 1994-06-18 18:28:36 +00:00
mycroft
264b874c14 Update to 4.4-Lite fs code, with local changes. 1994-06-08 11:41:58 +00:00