diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-08 20:28:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-08 20:28:25 -0400 |
commit | 832504933757ba7913bf64cd574326e014215b41 (patch) | |
tree | 8ee42f0cd79d605ea13f6d81a1ab38cb3473a6f4 | |
parent | 61ce7b3ab55e6dd3a9811d0cf4f2dc5a3a5d892a (diff) |
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>
-rw-r--r-- | fs/nfs/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 013cdbc3b000..34c3996bd0f5 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
@@ -322,7 +322,7 @@ found_client: | |||
322 | if (new) | 322 | if (new) |
323 | nfs_free_client(new); | 323 | nfs_free_client(new); |
324 | 324 | ||
325 | error = wait_event_interruptible(&nfs_client_active_wq, | 325 | error = wait_event_interruptible(nfs_client_active_wq, |
326 | clp->cl_cons_state != NFS_CS_INITING); | 326 | clp->cl_cons_state != NFS_CS_INITING); |
327 | if (error < 0) { | 327 | if (error < 0) { |
328 | nfs_put_client(clp); | 328 | nfs_put_client(clp); |