Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>

Index: linux-2.6.10-bk11-warnings/fs/autofs4/waitq.c
===================================================================
--- linux-2.6.10-bk11-warnings/fs/autofs4/waitq.c       (revision 9)
+++ linux-2.6.10-bk11-warnings/fs/autofs4/waitq.c       (revision 10)
@@ -275,7 +275,7 @@
        struct autofs_wait_queue *wq, **wql;
 
        down(&sbi->wq_sem);
-       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

Reply via email to