]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - block/elevator.c
block: fix comment and add lockdep assert
authorYufen Yu <yuyufen@huawei.com>
Fri, 9 Oct 2020 03:26:31 +0000 (23:26 -0400)
committerJens Axboe <axboe@kernel.dk>
Fri, 9 Oct 2020 18:34:06 +0000 (12:34 -0600)
commitf0c6ae09db1d39cbcf35776f889e0f7f861493d2
tree36de953172a925635b319c381650ba66a77c75a5
parent0841031ab9a8fb2551880c24a8419997b8e834bc
block: fix comment and add lockdep assert

After commit b89f625e28d4 ("block: don't release queue's sysfs
lock during switching elevator"), whole elevator register and
unregister function are covered by sysfs_lock. So, remove wrong
comment and add lockdep assert.

Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/elevator.c