jtc
dd05bd5124
Rename struct timespec fields to conform to POSIX.1b
1996-02-01 00:04:52 +00:00
cgd
b567511c78
Fix from Lite-2: when reloading the file system, save fs_maxcluster and
...
the old summary structure pointers, and recalculate cluster per cyl. grp.
information.
1995-12-19 23:27:53 +00:00
mycroft
7edc899fdd
ffs -> ufs
1995-11-11 22:00:15 +00:00
mycroft
1dde00e8a4
Correct a comment regarding cookies, from Greg Hudson.
1995-10-09 11:19:32 +00:00
thorpej
1955514b6c
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-21 23:39:20 +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
e9d17d38b5
avoid unnecessary aging of buffers. This used to make sense, when buffer
...
caches were much smaller, but makes little sense now, and will become more
useless as RAM (and buffer cache) sizes grow. Suggested by Bob Baron.
1995-07-24 21:19:27 +00:00
cgd
60db543a18
don't just throw away updates to the cylinder group bitmaps, actually
...
write them to disk! From Keith Smith at Harvard, via Kirk McKusick.
fixes the occasional `blkfree: freeing free block' that has been seen
when cluster reallocation code is enabled.
1995-07-19 15:47:36 +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
cgd
94b7cf1b85
compensate for timeval/timespec/stat structure changes.
1995-06-15 23:22:41 +00:00
mycroft
ae9e49ed0d
Fix thinko in previous commit. Do this as suggested by John Kohl.
1995-05-30 11:41:38 +00:00
mycroft
60c966ee4e
When replacing a whiteout, set i_endoff to 0, so the directory cannot be
...
shrunk.
1995-05-30 10:44:49 +00:00
cgd
64d4944e2f
from Mike Karels:
...
allow Q_SYNC regardless of "target" uid, we allow it with -1;
fix bug that caused all ops to refer to user quotas, not group.
[finally had a chance to check this!]
1995-05-10 18:00:45 +00:00
mycroft
fc46bf42f7
Make use of the `fs_clean' field. If it was set when the file system was
...
mounted or upgraded to r-w, then clear it and set it again later when the
file system is unmounted or downgraded.
1995-04-12 21:21:00 +00:00
jtc
db0046c14d
KERNEL -> _KERNEL
1995-03-28 19:59:56 +00:00
jtc
f76f1f89ad
KERNEL -> _KERNEL
1995-03-26 20:35:13 +00:00
cgd
dd6089fc52
explicitly cast &time to (struct timeval *) when passing it to VOP_UPDATE.
...
new prototypes and picky compilers make a volatile mess.
1995-03-24 15:33:23 +00:00
mycroft
f75ba16b09
Update to use timer{add,sub}().
1995-03-21 13:33:34 +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
cgd
32ec40eee8
cast pointer to long, not int
1995-03-08 01:51:38 +00:00
mycroft
4c34be6b52
Clean up deleted files.
1995-03-01 00:00:00 +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
cgd
80c18810b0
fix pr 568
1995-01-03 01:23:50 +00:00
mycroft
f969fcc548
Don't look at d_type for old format file systems.
1994-12-30 22:45:55 +00:00
mycroft
e242058ed6
Clear IN_RENAME on failed rename of directory.
1994-12-27 19:55:24 +00:00
ws
2f0fb8ee09
Implement and use a common access checking routine
1994-12-24 16:44:12 +00:00
mycroft
40d02e621d
#include sys/queue.h, but also hide kernel structures in #ifdef KERNEL.
1994-12-21 20:07:26 +00:00
mycroft
1b682c968a
Add RCS ids where missing.
1994-12-21 20:00:18 +00:00
mycroft
6a5daf3070
Ignore rotational optimization if nrpos == 1, as suggested by Stefan Esser.
1994-12-16 05:55:15 +00:00
mycroft
b4aa6d3a28
Call foo_statfs() from a common place when mounting.
1994-12-15 19:46:08 +00:00
mycroft
080e194e58
Remove extra arg to vn_open().
1994-12-14 19:03:13 +00:00
mycroft
a63cb01c7d
Sync with CSRG.
1994-12-14 13:03:35 +00:00
mycroft
4b18546438
Sync with CSRG.
1994-12-13 21:14:43 +00:00
mycroft
c5b0ae2805
Not ready for part of the previous change yet...
1994-12-13 20:51:56 +00:00
mycroft
527b796ff5
Turn lease_check() into a vnode op, per CSRG.
1994-12-13 20:14:30 +00:00
mycroft
5857125e47
Sync with CSRG.
1994-12-13 19:10:43 +00:00
mycroft
2981ef6595
Sync with CSRG.
1994-12-13 09:58:11 +00:00
mycroft
b619d35b99
Use __timeradd(), not timevaladd().
1994-12-11 17:57:15 +00:00
mycroft
a4aea8ad25
Round struct lfs to 512 bytes.
1994-11-17 16:58:41 +00:00
christos
1b76292bf9
added extra argument to vn_open
1994-11-14 06:02:03 +00:00
cgd
6ac2bbfc35
be more careful with types, also pull in headers where necessary.
1994-10-30 21:43:03 +00:00
mycroft
4c7eedf0b8
This is not my day.
1994-10-28 20:20:18 +00:00
mycroft
c0fd0f67f1
Fix typo.
1994-10-28 20:16:10 +00:00
mycroft
0badb64371
For now, limit the maxfilesize to 2^31*bsize-1 in core. This is temporary.
1994-10-28 20:15:09 +00:00
mycroft
f62b376067
Fix a couple of types in the compatibility code.
1994-10-28 19:59:21 +00:00
mycroft
f5720d1edd
Don't allow truncating past maxfilesize.
1994-10-28 19:31:07 +00:00
cgd
f0c1138373
update for new syscall args description mechanism, and deal safely
...
with wider types.
1994-10-20 04:20:55 +00:00
cgd
2f658e4b73
c syntax
1994-09-20 06:45:17 +00:00