Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83718
b: refs/heads/master
c: 7c7d90f
h: refs/heads/master
v: v3
  • Loading branch information
Eric Van Hensbergen committed Feb 7, 2008
1 parent 55ca6b4 commit a307219
Show file tree
Hide file tree
Showing 2 changed files with 2 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: c55703d807a8c6c239a5fea7b9cd7da08c27d7a9
refs/heads/master: 7c7d90f2dda6daec5a6aaf8f97aacc10ee4deb77
2 changes: 1 addition & 1 deletion trunk/net/9p/trans_virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ p9_virtio_rpc(struct p9_trans *t, struct p9_fcall *tc, struct p9_fcall **rc,

rdata = (char *)*rc+sizeof(struct p9_fcall);

spin_lock_irqsave(&chan->lock, flags);
n = P9_NOTAG;
if (tc->id != P9_TVERSION) {
n = p9_idpool_get(chan->tagpool);
if (n < 0)
return -ENOMEM;
}

spin_lock_irqsave(&chan->lock, flags);
req = p9_lookup_tag(chan, n);
spin_unlock_irqrestore(&chan->lock, flags);

Expand Down

0 comments on commit a307219

Please sign in to comment.