summaryrefslogtreecommitdiffstats
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2011-10-25 15:48:12 +0200
committerJens Axboe <axboe@kernel.dk>2011-10-25 15:48:12 +0200
commita38eb630fa224d6fba8c14a4063174bc5e0f63bb (patch)
treeb86cb5b0aaa4b6d45d798b5155ed2089177f8206 /block/blk-throttle.c
parente060f00beee23568fe2c4faf1e88ff22edefd7b2 (diff)
downloadop-kernel-dev-a38eb630fa224d6fba8c14a4063174bc5e0f63bb.zip
op-kernel-dev-a38eb630fa224d6fba8c14a4063174bc5e0f63bb.tar.gz
blk-throttle: Take blkcg->lock while traversing blkcg->policy_list
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>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud