Fix stale references to functions that have been renamed and fix typo.
Unified · Split
| @@ -2518,13 +2518,12 @@ static int __dm_suspend(struct mapped_device *md, struct dm_table *map, · 2517 unmodified lines | |||
| 2518 | /* | 2518 | /* |
| 2519 | * Here we must make sure that no processes are submitting requests | 2519 | * Here we must make sure that no processes are submitting requests |
| 2520 | * to target drivers i.e. no one may be executing | 2520 | * to target drivers i.e. no one may be executing |
| 2521 | * __split_and_process_bio. This is called from dm_request and | 2521 | * __split_and_process_bio from dm_submit_bio. |
| 2522 | * dm_wq_work. | ||
| 2523 | * | 2522 | * |
| 2524 | * To get all processes out of __split_and_process_bio in dm_request, | 2523 | * To get all processes out of __split_and_process_bio in dm_submit_bio, |
| 2525 | * we take the write lock. To prevent any process from reentering | 2524 | * we take the write lock. To prevent any process from reentering |
| 2526 | * __split_and_process_bio from dm_request and quiesce the thread | 2525 | * __split_and_process_bio from dm_submit_bio and quiesce the thread |
| 2527 | * (dm_wq_work), we set BMF_BLOCK_IO_FOR_SUSPEND and call | 2526 | * (dm_wq_work), we set DMF_BLOCK_IO_FOR_SUSPEND and call |
| 2528 | * flush_workqueue(md->wq). | 2527 | * flush_workqueue(md->wq). |
| 2529 | */ | 2528 | */ |
| 2530 | set_bit(DMF_BLOCK_IO_FOR_SUSPEND, &md->flags); | 2529 | set_bit(DMF_BLOCK_IO_FOR_SUSPEND, &md->flags); |