Re: [PATCH v2] block: use dedicated list iterator variable

From: Jens Axboe
Date: Thu Mar 31 2022 - 08:06:37 EST


On Thu, 31 Mar 2022 11:12:18 +0200, Jakob Koschel wrote:
> To move the list iterator variable into the list_for_each_entry_*()
> macro in the future it should be avoided to use the list iterator
> variable after the loop body.
>
> To *never* use the list iterator variable after the loop it was
> concluded to use a separate iterator variable instead of a
> found boolean [1].
>
> [...]

Applied, thanks!

[1/1] block: use dedicated list iterator variable
commit: 4a3b666e0ea977dd40adb56c37a91370f76fa19e

Best regards,
--
Jens Axboe