Commit f0c6ae0
block: fix comment and add lockdep assert
After commit b89f625 ("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>1 parent 0841031 commit f0c6ae0
1 file changed
Lines changed: 4 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | 482 | | |
488 | 483 | | |
489 | 484 | | |
490 | 485 | | |
491 | 486 | | |
| 487 | + | |
| 488 | + | |
492 | 489 | | |
493 | 490 | | |
494 | 491 | | |
| |||
507 | 504 | | |
508 | 505 | | |
509 | 506 | | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | 507 | | |
516 | 508 | | |
| 509 | + | |
| 510 | + | |
517 | 511 | | |
518 | 512 | | |
519 | 513 | | |
| |||
0 commit comments