git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e060f00
)
blk-throttle: Take blkcg->lock while traversing blkcg->policy_list
author
Vivek Goyal
<vgoyal@redhat.com>
Tue, 25 Oct 2011 13:48:12 +0000
(15:48 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 25 Oct 2011 13:48:12 +0000
(15:48 +0200)
blkcg->policy_list is protected by blkcg->lock. Its not rcu protected
list. So even for readers, they need to take blkcg->lock. There are
few functions which were reading the list without taking lock. Fix it.
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
No differences found