On Fri, Dec 16, 2016 at 03:41:12PM +1100, Dave Chinner wrote: > From: Dave Chinner <dchinner@xxxxxxxxxx> > > Simplify the command loop further by merging the command loop > iteration checks with the command execution function. This removes > all visibility of command iteration from the main command execution > loop, and enables us to factor and clean up the command loop > processing neatly. > > Signed-Off-By: Dave Chinner <dchinner@xxxxxxxxxx> Looks fine, but some minor nitpicks below: Signed-off-by: Christoph Hellwig <hch@xxxxxx> > +static int > +process_input( return bool instead of int (and switch done in the caller to bool as well)? > + char *input, > + bool iterate) > { > - int c, i, j = 0, done = 0; > - char *input; Align the arguments to the same row as the variables below it? -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html