From: NeilBrown Date: Tue, 21 Nov 2017 13:44:35 +0000 (-0500) Subject: dm: fix comment above dm_accept_partial_bio X-Git-Tag: v4.16-rc1~141^2~52 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=c06b3e583750fa8f1d214ca50c86d936f6a329c6;p=linux.git 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 Signed-off-by: Mike Snitzer --- 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