summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorYufen Yu <yuyufen@huawei.com>2020-10-08 23:26:27 -0400
committerJens Axboe <axboe@kernel.dk>2020-10-09 12:34:06 -0600
commitdd1c372d656600234a1704f456f9977ca684865c (patch)
tree5f50e1b2f9d6fd2e0c8eca64330e8bcdcd4064d8 /mm
parent7ea6bf2e6c409e245a31b9ac6a4ba24949ad442f (diff)
downloadlinux-dd1c372d656600234a1704f456f9977ca684865c.tar.gz
linux-dd1c372d656600234a1704f456f9977ca684865c.tar.bz2
linux-dd1c372d656600234a1704f456f9977ca684865c.zip
block: invoke blk_mq_exit_sched no matter whether have .exit_sched
We will register debugfs for scheduler no matter whether it have defined callback funciton .exit_sched. So, blk_mq_exit_sched() is always needed to unregister debugfs. Also, q->elevator should be set as NULL after exiting scheduler. For now, since all register scheduler have defined .exit_sched, it will not cause any actual problem. But It will be more reasonable to do this change. Signed-off-by: Yufen Yu <yuyufen@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions