Christoph Hellwig <h...@lst.de> writes:

> On Sat, Jun 26, 2010 at 07:32:09AM +0200, Markus Armbruster wrote:
>> Christoph Hellwig <h...@lst.de> writes:
>> 
>> >> +DriveInfo *drive_of_blockdev(BlockDriverState *bs)
>> >
>> > I'd call this find_drive_by_blockdev.
>> 
>> For what it's worth, all externally visible functions dealing with
>> drives start with "drive_".
>
> Ok.  How about drive_get_by_blockdev, matching the drive_get_by_id we
> have around?

drive_get_by_id() gets removed by 07/12.  But there's still drive_get().

drive_get_by_blockdev()?  blockdev_to_drive()?

Reply via email to