DragonFly BSD
DragonFly commits List (threaded) for 2012-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Aggelos Economopoulos <aoiko@xxxxxxxxxxxxxx>
Date: Sun, 25 Mar 2012 16:58:21 +0200

On 03/25/2012 01:26 PM, Francois Tigeot wrote:
> commit 95287e9bb847c4984a79e98ca53044dffc14d0fa
> Author: Francois Tigeot <ftigeot@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]