Loading drivers/md/bcache/super.c +2 −1 Original line number Diff line number Diff line Loading @@ -1071,6 +1071,7 @@ static void cached_dev_free(struct closure *cl) struct cached_dev *dc = container_of(cl, struct cached_dev, disk.cl); cancel_delayed_work_sync(&dc->writeback_rate_update); if (!IS_ERR_OR_NULL(dc->writeback_thread)) kthread_stop(dc->writeback_thread); mutex_lock(&bch_register_lock); Loading Loading
drivers/md/bcache/super.c +2 −1 Original line number Diff line number Diff line Loading @@ -1071,6 +1071,7 @@ static void cached_dev_free(struct closure *cl) struct cached_dev *dc = container_of(cl, struct cached_dev, disk.cl); cancel_delayed_work_sync(&dc->writeback_rate_update); if (!IS_ERR_OR_NULL(dc->writeback_thread)) kthread_stop(dc->writeback_thread); mutex_lock(&bch_register_lock); Loading