Subject: Re: readdisklabel parameter change
To: Chris G. Demetriou <cgd@netbsd.org>
From: Frank van der Linden <frank@wins.uva.nl>
List: tech-kern
Date: 09/06/1999 07:52:40
On Sun, Sep 05, 1999 at 10:48:48PM -0700, Chris G. Demetriou wrote:
> Frank van der Linden <frank@wins.uva.nl> writes:
> > So, I want to change readdisklabel() to take a struct device * as well,
> > so that dv_xname can be used for error messages.
> 
> With the current code as it is, this isn't gonna work so well.
> 
> There exist plenty of disk devices (really, pseudo-devices 8-) which
> don't have 'struct device's associated with them.  looks like 'struct
> disk' may do what you're hoping for, though.

Hm. I checked all callers, and all do seem to have a struct device available
to them at call them. I may have missed one/some, though.. do you have
an example?

- Frank