Skip to content
Commit 0a8e9599 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm: add WARN_ON_ONCE to dm_submit_bio_remap



If a target uses dm_submit_bio_remap() it should set
ti->accounts_remapped_io.

Also, switch dm_start_io_acct() WARN_ON to WARN_ON_ONCE.

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent b99fdcdc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment