Re: [PATCH 6/9] random: simplify accounting logic

From: Theodore Ts'o
Date: Fri Nov 29 2013 - 20:04:36 EST


On Wed, Nov 13, 2013 at 03:08:21AM -0500, Greg Price wrote:
> This logic is exactly equivalent to the old logic, but it should
> be easier to see what it's doing.
>
> The equivalence depends on one fact from outside this function:
> when 'r->limit' is false, 'reserved' is zero. (Well, two facts;
> the other is that 'reserved' is never negative.)

Applied, thanks.

- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/