diff mbox

[V9fs-developer,net/9p] Change wake_up to wake_up_all() in the virtio transport.

Message ID 1299627564-4204-1-git-send-email-jvrao@linux.vnet.ibm.com (mailing list archive)
State Accepted, archived
Delegated to: Eric Van Hensbergen
Headers show

Commit Message

jvrao March 8, 2011, 11:39 p.m. UTC
None
diff mbox

Patch

diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
index 9b550ed..e90e954 100644
--- a/net/9p/trans_virtio.c
+++ b/net/9p/trans_virtio.c
@@ -148,7 +148,7 @@  static void req_done(struct virtqueue *vq)
 		if (rc != NULL) {
 			if (!chan->ring_bufs_avail) {
 				chan->ring_bufs_avail = 1;
-				wake_up(chan->vc_wq);
+				wake_up_all(chan->vc_wq);
 			}
 			spin_unlock_irqrestore(&chan->lock, flags);
 			P9_DPRINTK(P9_DEBUG_TRANS, ": rc %p\n", rc);