aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2017-02-22 10:14:01 +0000
committerJens Axboe <[email protected]>2017-03-08 16:56:12 +0000
commit6c8b232efea1ad3d263ff8b9c16b7e8767a77488 (patch)
treedb30d630a2a170b7f67479654da43812c1d674fa /scripts/gcc-plugins/sancov_plugin.c
parentblk-mq: make lifetime consitent between q/ctx and its kobject (diff)
downloadkernel-6c8b232efea1ad3d263ff8b9c16b7e8767a77488.tar.gz
kernel-6c8b232efea1ad3d263ff8b9c16b7e8767a77488.zip
blk-mq: make lifetime consistent between hctx and its kobject
This patch removes kobject_put() over hctx in __blk_mq_unregister_dev(), and trys to keep lifetime consistent between hctx and hctx's kobject. Now blk_mq_sysfs_register() and blk_mq_sysfs_unregister() become totally symmetrical, and kobject's refcounter drops to zero just when the hctx is freed. Signed-off-by: Ming Lei <[email protected]> Tested-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions