git: VFS accounting: use an explicit TAILQ_FIRST/TAILQ_NEXT loop in mountlist_exists()

Aggelos Economopoulos aoiko at cc.ece.ntua.gr
Sun Mar 25 07:58:21 PDT 2012


On 03/25/2012 01:26 PM, Francois Tigeot wrote:
> commit 95287e9bb847c4984a79e98ca53044dffc14d0fa
> Author: Francois Tigeot <ftigeot at wolfpond.org>
> Date:   Sun Mar 25 12:38:51 2012 +0200
> 
>     VFS accounting: use an explicit TAILQ_FIRST/TAILQ_NEXT loop in mountlist_exists()
>     
>     The previous TAILQ_FOREACH loop body was never executed

The previous TAILQ_FOREACH was using a different field name for the
iteration. That's what your patch changed, the open-coding of
TAILQ_FOREACH doesn't make a difference.

HTH,
Aggelos





More information about the Commits mailing list