|
From: | Benoît Canet |
Subject: | Re: [Qemu-devel] [PATCH 10/23] block: Eliminate DriveInfo member bdrv, use blk_by_legacy_dinfo() |
Date: | Thu, 11 Sep 2014 19:06:05 +0200 |
User-agent: | Mutt/1.5.23 (2014-03-12) |
> + blk_bs(blk_by_legacy_dinfo(dinfo))); This seems to be a fairly common pattern: "blk_bs(blk_by_legacy_dinfo())". How about a helper function ?
[Prev in Thread] | Current Thread | [Next in Thread] |