From: Linus Torvalds Date: Mon, 9 Oct 2006 00:28:25 +0000 (-0700) Subject: Fix extraneous '&' in recent NFS client cleanup X-Git-Tag: v2.6.19-rc2~243 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=832504933757ba7913bf64cd574326e014215b41;p=linux-2.6-omap-h63xx.git Fix extraneous '&' in recent NFS client cleanup 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 --- diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 013cdbc3b00..34c3996bd0f 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -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);