pjd
06c0f5f487
Unlock g_gate_list_mtx mutex when we cannot allocate unit number.
...
MT5 candidate.
PR: kern/72253
Submitted by: Ivan Voras <ivoras@fer.hr>
2004-10-02 15:03:26 +00:00
phk
d8d2b01380
Tag all geom classes in the tree with a version number.
2004-08-08 07:57:53 +00:00
phk
5c95d686a1
Do a pass over all modules in the kernel and make them return EOPNOTSUPP
...
for unknown events.
A number of modules return EINVAL in this instance, and I have left
those alone for now and instead taught MOD_QUIESCE to accept this
as "didn't do anything".
2004-07-15 08:26:07 +00:00
pjd
3c23c61888
Remove unused argument for good.
2004-07-01 15:42:03 +00:00
pjd
8395a82f93
Introduce a hack that will make geom_gate to work with read-only mounts.
...
Now, when trying to mount file system in read-only mode it tries to
opened a device for writting to be able to update to read-write mode
latter. Ehh.
Discussed with: phk
2004-06-27 12:56:11 +00:00
pjd
78f7239eef
Don't hold topology lock while calling g_gate_release().
...
Found by: KASSERT()
2004-06-21 09:12:08 +00:00
phk
dfd1f7fd50
Do the dreaded s/dev_t/struct cdev */
...
Bump __FreeBSD_version accordingly.
2004-06-16 09:47:26 +00:00
pjd
6f00e1b72e
Close some small wakeup<->msleep races.
2004-05-05 12:30:41 +00:00
pjd
2a2290a736
Turn off debugging by default.
2004-05-03 21:11:54 +00:00
pjd
33d1430a62
Prefer signed type over unsigned to be able to assert negative
...
reference count.
2004-05-03 21:02:02 +00:00
pjd
3a548ca143
- Hold g_gate_list_mtx lock while generating/checking unit number.
...
Found by: mtx_assert() g_gate.c:273
- Set command before returning to userland with ENOMEM error value.
Found by: assert() ggatel.c:108
2004-05-03 18:06:24 +00:00
pjd
ffc1c33f15
Make it compile on 64-bit architectures.
...
The biggest issue was that 16-bit atomic operations aren't supported
on all architectures.
2004-05-02 17:57:49 +00:00
pjd
7992868cbb
Kernel bits of GEOM Gate.
2004-04-30 16:08:12 +00:00