diff options
author | NeilBrown <neilb@suse.com> | 2017-11-21 08:44:35 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2017-12-13 12:15:54 -0500 |
commit | c06b3e583750fa8f1d214ca50c86d936f6a329c6 (patch) | |
tree | aa2e2aeaf653e1e5caa2f3f48e4687db55eaf391 /drivers/md/dm.c | |
parent | 552aa679f265743163fb440c61370a9c51f66c81 (diff) | |
download | linux-rt-c06b3e583750fa8f1d214ca50c86d936f6a329c6.tar.gz |
dm: fix comment above dm_accept_partial_bio
Clarify that dm_accept_partial_bio isn't allowed for REQ_OP_ZONE_RESET
bios.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index de17b7193299..fb9e6d808170 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -997,7 +997,7 @@ static size_t dm_dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, /* * A target may call dm_accept_partial_bio only from the map routine. It is - * allowed for all bio types except REQ_PREFLUSH. + * allowed for all bio types except REQ_PREFLUSH and REQ_OP_ZONE_RESET. * * dm_accept_partial_bio informs the dm that the target only wants to process * additional n_sectors sectors of the bio and the rest of the data should be |