X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=lib%2Fproportions.c;fp=lib%2Fproportions.c;h=3fda810faf0d95f67f58460a74e7db007f4dd70f;hb=30079677428ae1349d5063b96f677270dfd54309;hp=4f387a643d723c3853bec845ef0a90018a0e00f0;hpb=8cef7d57a4a47ef7166acde05eea0bc4f723691c;p=~andy%2Flinux diff --git a/lib/proportions.c b/lib/proportions.c index 4f387a643d7..3fda810faf0 100644 --- a/lib/proportions.c +++ b/lib/proportions.c @@ -147,6 +147,7 @@ out: * 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(); }