]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Fix extraneous '&' in recent NFS client cleanup
authorLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Oct 2006 00:28:25 +0000 (17:28 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Oct 2006 00:28:25 +0000 (17:28 -0700)
We should pass "wait_event_interruptible()" the wait-queue itself, not
the pointer to it. The magic macro will pointerize it internally.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfs/client.c

index 013cdbc3b000f152aba6479317cd66e9d35865d5..34c3996bd0f582438164602a64a6dbd5254e1247 100644 (file)
@@ -322,7 +322,7 @@ found_client:
        if (new)
                nfs_free_client(new);
 
-       error = wait_event_interruptible(&nfs_client_active_wq,
+       error = wait_event_interruptible(nfs_client_active_wq,
                                clp->cl_cons_state != NFS_CS_INITING);
        if (error < 0) {
                nfs_put_client(clp);