Poul-Henning Kamp d4dbba5f83 Fix a long standing bug in geom_mbr which is only now exposed by the
correct open/close behaviour of filesystems:

When an ioctl to modify the MBR arrives, we cannot take for granted that
we have the consumer open.

The symptom is that one cannot run 'boot0cfg -s2 /dev/ad0' in single-user
mode because / is the only open partition in only open r1w0e1.

If it is not, we attempt to increase the write count by one and
decrease it again afterwards.

Presumably most if not all other slices suffer from the same problem.
2004-11-28 20:57:25 +00:00
..
2003-06-11 06:49:16 +00:00
2003-06-11 06:49:16 +00:00
2003-06-11 06:49:16 +00:00
2004-11-04 07:17:08 +00:00
2004-08-09 06:04:00 +00:00