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 <torvalds@osdl.org>
This commit is contained in:
@@ -322,7 +322,7 @@ found_client:
|
|||||||
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);
|
||||||
|
Reference in New Issue
Block a user