mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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:
parent
61ce7b3ab5
commit
8325049337
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue