Skip to content

Commit

Permalink
Fix extraneous '&' in recent NFS client cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Torvalds committed Oct 9, 2006
1 parent 61ce7b3 commit 8325049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfs/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ static struct nfs_client *nfs_get_client(const char *hostname,
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);
Expand Down

0 comments on commit 8325049

Please sign in to comment.