Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
Index: linux-2.6.10-bk11-warnings/fs/autofs/waitq.c
===================================================================
--- linux-2.6.10-bk11-warnings/fs/autofs/waitq.c (revision 8)
+++ linux-2.6.10-bk11-warnings/fs/autofs/waitq.c (revision 9)
@@ -183,7 +183,7 @@
{
struct autofs_wait_queue *wq, **wql;
- for ( wql = &sbi->queues ; (wq = *wql) != 0 ; wql = &wq->next ) {
+ for ( wql = &sbi->queues ; (wq = *wql) != NULL ; wql = &wq->next ) {
if ( wq->wait_queue_token == wait_queue_token )
break;
}
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs