Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333414
b: refs/heads/master
c: 759f429
h: refs/heads/master
v: v3
  • Loading branch information
Simon Derr authored and Eric Van Hensbergen committed Oct 11, 2012
1 parent 3c1e921 commit 4309292
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 584a8c13d58423462680907d4cc40d9929c9030a
refs/heads/master: 759f42987f98915764bad922ee123acb0eadbe33
3 changes: 2 additions & 1 deletion trunk/net/9p/trans_fd.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,12 +453,13 @@ static void p9_write_work(struct work_struct *work)
}

if (!m->wsize) {
spin_lock(&m->client->lock);
if (list_empty(&m->unsent_req_list)) {
clear_bit(Wworksched, &m->wsched);
spin_unlock(&m->client->lock);
return;
}

spin_lock(&m->client->lock);
req = list_entry(m->unsent_req_list.next, struct p9_req_t,
req_list);
req->status = REQ_STATUS_SENT;
Expand Down

0 comments on commit 4309292

Please sign in to comment.