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 | 2519 | * Here we must make sure that no processes are submitting requests |
| 2520 | 2520 | * to target drivers i.e. no one may be executing |
| 2521 | − * __split_and_process_bio. This is called from dm_request and | |
| 2522 | − * dm_wq_work. | |
| 2521 | + * __split_and_process_bio from dm_submit_bio. | |
| 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 | 2524 | * we take the write lock. To prevent any process from reentering |
| 2526 | − * __split_and_process_bio from dm_request and quiesce the thread | |
| 2527 | − * (dm_wq_work), we set BMF_BLOCK_IO_FOR_SUSPEND and call | |
| 2525 | + * __split_and_process_bio from dm_submit_bio and quiesce the thread | |
| 2526 | + * (dm_wq_work), we set DMF_BLOCK_IO_FOR_SUSPEND and call | |
| 2528 | 2527 | * flush_workqueue(md->wq). |
| 2529 | 2528 | */ |
| 2530 | 2529 | set_bit(DMF_BLOCK_IO_FOR_SUSPEND, &md->flags); |