From 7242e0432f6946fe843a6127b0bb725d7e47fc17 Mon Sep 17 00:00:00 2001 From: Hannes Eder Date: Wed, 25 Feb 2009 10:31:24 +0000 Subject: [PATCH] --- yaml --- r: 134770 b: refs/heads/master c: 81c553299ffc4ce3512a6ea3eaf5070c2238c960 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/802/tr.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 4dc7a04fabd1..c350ec6ae2c2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 893d7de7c319b31626816e2095492003cc2df2a6 +refs/heads/master: 81c553299ffc4ce3512a6ea3eaf5070c2238c960 diff --git a/trunk/net/802/tr.c b/trunk/net/802/tr.c index 158150fee462..dab6334b6258 100644 --- a/trunk/net/802/tr.c +++ b/trunk/net/802/tr.c @@ -486,6 +486,7 @@ static struct rif_cache *rif_get_idx(loff_t pos) } static void *rif_seq_start(struct seq_file *seq, loff_t *pos) + __acquires(&rif_lock) { spin_lock_irq(&rif_lock); @@ -517,6 +518,7 @@ static void *rif_seq_next(struct seq_file *seq, void *v, loff_t *pos) } static void rif_seq_stop(struct seq_file *seq, void *v) + __releases(&rif_lock) { spin_unlock_irq(&rif_lock); }