summaryrefslogtreecommitdiff
path: root/Documentation/mmc
diff options
context:
space:
mode:
authorJiang Biao <jiang.biao2@zte.com.cn>2018-04-19 07:06:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-20 22:02:44 +0300
commitea7246c258922565a53319ddc54684d081d1b4c8 (patch)
tree16eb152c335e9d9335cf7a448aef7abbeb188cd1 /Documentation/mmc
parentb6126afd64d069384e41605779e8e27288185359 (diff)
downloadlinux-ea7246c258922565a53319ddc54684d081d1b4c8.tar.xz
blkcg: init root blkcg_gq under lock
[ Upstream commit 901932a3f9b2b80352896be946c6d577c0a9652c ] The initializing of q->root_blkg is currently outside of queue lock and rcu, so the blkg may be destroied before the initializing, which may cause dangling/null references. On the other side, the destroys of blkg are protected by queue lock or rcu. Put the initializing inside the queue lock and rcu to make it safer. Signed-off-by: Jiang Biao <jiang.biao2@zte.com.cn> Signed-off-by: Wen Yang <wen.yang99@zte.com.cn> CC: Tejun Heo <tj@kernel.org> CC: Jens Axboe <axboe@kernel.dk> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/mmc')
0 files changed, 0 insertions, 0 deletions