[dm-devel] [PATCH 01/11] dm-zoned: store zone id within the zone structure and kill dmz_id()

Hannes Reinecke hare at suse.de
Tue Apr 14 06:31:15 UTC 2020


On 4/10/20 8:37 AM, Damien Le Moal wrote:
> On 2020/04/09 15:45, Hannes Reinecke wrote:
>> Instead of calculating the zone index by the offset within the
>> zone array store the index within the structure itself. With that
>> the helper dmz_id() is pointless and can be replaced with accessing
>> the ->id value directly.
> 
> Looks good. Although the kbuild robot complained that you forgot to change the
> dmz_id() use in some dmz_dev_warn() calls :)
> Just seen it. Will be fixing it up in the next round.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke            Teamlead Storage & Networking
hare at suse.de                               +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer





More information about the dm-devel mailing list