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

김재헌 jhkim at mantech.co.kr
Fri Feb 26 14:08:17 CET 2016


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-dev/attachments/20160226/c4615098/attachment-0001.htm>


More information about the drbd-dev mailing list