Commit 83250493 authored by Linus Torvalds's avatar Linus Torvalds

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: default avatarLinus Torvalds <torvalds@osdl.org>
parent 61ce7b3a
...@@ -322,7 +322,7 @@ static struct nfs_client *nfs_get_client(const char *hostname, ...@@ -322,7 +322,7 @@ static struct nfs_client *nfs_get_client(const char *hostname,
if (new) if (new)
nfs_free_client(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); clp->cl_cons_state != NFS_CS_INITING);
if (error < 0) { if (error < 0) {
nfs_put_client(clp); nfs_put_client(clp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment