diff options
author | Mike Snitzer <snitzer@redhat.com> | 2020-09-30 15:12:04 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-10-01 15:03:39 -0400 |
commit | 0cede372ce6a8adf4d4d28fe7edd2aa913804595 (patch) | |
tree | 4a9959a8fad7e319f56e572c7daf299217ce336e /drivers/md/dm.c | |
parent | b2abdb1b4b9eaffc4f41aa466ce77c2d91bb23df (diff) |
dm: fix comment in __dm_suspend()
Fix stale references to functions that have been renamed and fix typo.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 93ca051f88f0..32ac19645255 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -2518,13 +2518,12 @@ static int __dm_suspend(struct mapped_device *md, struct dm_table *map, /* * Here we must make sure that no processes are submitting requests * to target drivers i.e. no one may be executing - * __split_and_process_bio. This is called from dm_request and - * dm_wq_work. + * __split_and_process_bio from dm_submit_bio. * - * To get all processes out of __split_and_process_bio in dm_request, + * To get all processes out of __split_and_process_bio in dm_submit_bio, * we take the write lock. To prevent any process from reentering - * __split_and_process_bio from dm_request and quiesce the thread - * (dm_wq_work), we set BMF_BLOCK_IO_FOR_SUSPEND and call + * __split_and_process_bio from dm_submit_bio and quiesce the thread + * (dm_wq_work), we set DMF_BLOCK_IO_FOR_SUSPEND and call * flush_workqueue(md->wq). */ set_bit(DMF_BLOCK_IO_FOR_SUSPEND, &md->flags); |