Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96763
b: refs/heads/master
c: d0c4471
h: refs/heads/master
i:
  96761: a46062e
  96759: 075d565
v: v3
  • Loading branch information
Steven Rostedt authored and Eric Van Hensbergen committed May 15, 2008
1 parent 832b30b commit 0cd48e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 728fc4ef17748042d9c71144aa339ed9c68e8b01
refs/heads/master: d0c447180bfcb1db8d59e6ddb10f0346bd7d29e9
2 changes: 1 addition & 1 deletion trunk/net/9p/trans_virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static void p9_virtio_close(struct p9_trans *trans)
{
struct virtio_chan *chan = trans->priv;
int count;
unsigned int flags;
unsigned long flags;

spin_lock_irqsave(&chan->lock, flags);
p9_idpool_destroy(chan->tagpool);
Expand Down
4 changes: 2 additions & 2 deletions trunk/net/9p/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ int p9_idpool_get(struct p9_idpool *p)
{
int i = 0;
int error;
unsigned int flags;
unsigned long flags;

retry:
if (idr_pre_get(&p->pool, GFP_KERNEL) == 0)
Expand Down Expand Up @@ -120,7 +120,7 @@ EXPORT_SYMBOL(p9_idpool_get);

void p9_idpool_put(int id, struct p9_idpool *p)
{
unsigned int flags;
unsigned long flags;
spin_lock_irqsave(&p->lock, flags);
idr_remove(&p->pool, id);
spin_unlock_irqrestore(&p->lock, flags);
Expand Down

0 comments on commit 0cd48e1

Please sign in to comment.