diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-09 02:28:25 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-09 02:28:25 +0200 |
commit | 832504933757ba7913bf64cd574326e014215b41 (patch) | |
tree | 8ee42f0cd79d605ea13f6d81a1ab38cb3473a6f4 /fs/nfs/client.c | |
parent | Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus (diff) | |
download | linux-832504933757ba7913bf64cd574326e014215b41.tar.xz linux-832504933757ba7913bf64cd574326e014215b41.zip |
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>
Diffstat (limited to 'fs/nfs/client.c')
-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: 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); |