From 33e21766c6b212f75eb755f2c46e694d95a8bca7 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Tue, 6 Jan 2009 14:40:50 -0800 Subject: [PATCH] --- yaml --- r: 126274 b: refs/heads/master c: 30079677428ae1349d5063b96f677270dfd54309 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/lib/proportions.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 1171ff12bdde..2736eec93e05 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8cef7d57a4a47ef7166acde05eea0bc4f723691c +refs/heads/master: 30079677428ae1349d5063b96f677270dfd54309 diff --git a/trunk/lib/proportions.c b/trunk/lib/proportions.c index 4f387a643d72..3fda810faf0d 100644 --- a/trunk/lib/proportions.c +++ b/trunk/lib/proportions.c @@ -147,6 +147,7 @@ void prop_change_shift(struct prop_descriptor *pd, int shift) * this is used to track the active references. */ static struct prop_global *prop_get_global(struct prop_descriptor *pd) +__acquires(RCU) { int index; @@ -160,6 +161,7 @@ static struct prop_global *prop_get_global(struct prop_descriptor *pd) } static void prop_put_global(struct prop_descriptor *pd, struct prop_global *pg) +__releases(RCU) { rcu_read_unlock(); }