[Drbd-dev] [CASE-27] please check trivial code cleanup

Philipp Reisner philipp.reisner at linbit.com
Thu Mar 31 11:35:01 CEST 2016


Hi Jaeheon,

Yes, you are right. Thanks for pointing this out.

PS: Do you want to send such patches created with git format-patch
    in the future?
    They would carry the correct author information. 

Best regards,
 Phil

> Hi,
> 
> Please check your macro in drbd/drbd_int.h
> 
>     #define for_each_peer_device_ref(peer_device, m, resource) \
>          for (peer_device = __drbd_next_peer_device_ref(&m, NULL,
> resource); \
>               peer_device; \
>               peer_device = __drbd_next_peer_device_ref(&m, peer_device,
> resource))
> 
> We think the "resource" should be changed to "device".
> 
> Thanks.



More information about the drbd-dev mailing list