vinum crashing with latest current
Lukas Ertl
le at FreeBSD.org
Tue Jun 22 06:41:10 GMT 2004
On Mon, 21 Jun 2004, Daryl Chance wrote:
> --- Colin Percival <colin.percival at wadham.ox.ac.uk> wrote:
>> At 04:53 22/06/2004, Daryl Chance wrote:
>> Now, I'm not sure which of these is correct, but ONE
>> of the following
>> two patches should be applied:
>> --- src/sys/dev/vinum/vinumio.c 17 Jun 2004 17:16:47
>> -0000 1.99
>> +++ src/sys/dev/vinum/vinumio.c 22 Jun 2004 04:29:08
>> -0000
>> @@ -68,7 +68,7 @@ open_drive(struct drive *drive,
>> struct t
>> drive->lasterror = ENOTBLK;
>> else {
>> DROP_GIANT();
>> - drive->lasterror = (dsw->d_open) (drive->dev,
>> FWRITE | FREAD, 0, NULL);
>> + drive->lasterror = (dsw->d_open) (drive->dev,
>> FWRITE | FREAD, 0, td);
>> PICKUP_GIANT();
>> }
>
> I just tested this and it worked. Thanks. I'll wait for an official
I committed the patch, thanks for testing it.
cheers,
le
--
Lukas Ertl http://homepage.univie.ac.at/l.ertl/
le at FreeBSD.org http://people.freebsd.org/~le/
More information about the freebsd-current
mailing list