lkml.org 
[lkml]   [2015]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 36/51] writeback: implement bdi_for_each_wb()
On Fri, Jul 03, 2015 at 02:26:27PM +0200, Jan Kara wrote:
> That's a good point. Thanks for explanation. Maybe add a comment like:
> /*
> * We use use this seemingly complicated 'for' loop so that 'break' and
> * 'continue' continue to work as expected.
> */

This kinda feel superflous for me. This is something true for all
iteration wrappers which falls within the area of well-established
convention, I think. If it's doing something weird like combining
if-else clause to do post-conditional processing, sure, but this is
really kinda standard.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2015-07-03 19:21    [W:0.096 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site