[Drbd-dev] [CASE-27] please check trivial code cleanup
philipp.reisner at linbit.com
Thu Mar 31 11:35:01 CEST 2016
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.
> 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,
> We think the "resource" should be changed to "device".
More information about the drbd-dev