提交 83250493 编写于 作者: L 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: NLinus Torvalds <torvalds@osdl.org>
上级 61ce7b3a
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册