summaryrefslogtreecommitdiff
path: root/drivers/md/dm-flakey.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2016-01-31 21:28:26 +0300
committerMike Snitzer <snitzer@redhat.com>2016-02-23 06:34:37 +0300
commit30187e1d48a258e304af184c45c3140c8509d219 (patch)
tree58603a739f5a21aa04a1d840639989424eef3332 /drivers/md/dm-flakey.c
parenteca7ee6dc01b21c669bce8c39d3d368509fb65e8 (diff)
downloadlinux-30187e1d48a258e304af184c45c3140c8509d219.tar.xz
dm: rename target's per_bio_data_size to per_io_data_size
Request-based DM will also make use of per_bio_data_size. Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-flakey.c')
-rw-r--r--drivers/md/dm-flakey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-flakey.c b/drivers/md/dm-flakey.c
index 09e2afcafd2d..b7341de87015 100644
--- a/drivers/md/dm-flakey.c
+++ b/drivers/md/dm-flakey.c
@@ -220,7 +220,7 @@ static int flakey_ctr(struct dm_target *ti, unsigned int argc, char **argv)
ti->num_flush_bios = 1;
ti->num_discard_bios = 1;
- ti->per_bio_data_size = sizeof(struct per_bio_data);
+ ti->per_io_data_size = sizeof(struct per_bio_data);
ti->private = fc;
return 0;