diff options
author | Mike Snitzer <snitzer@redhat.com> | 2016-01-31 13:28:26 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-02-22 22:34:37 -0500 |
commit | 30187e1d48a258e304af184c45c3140c8509d219 (patch) | |
tree | 58603a739f5a21aa04a1d840639989424eef3332 /drivers/md/dm-snap.c | |
parent | eca7ee6dc01b21c669bce8c39d3d368509fb65e8 (diff) | |
download | op-kernel-dev-30187e1d48a258e304af184c45c3140c8509d219.zip op-kernel-dev-30187e1d48a258e304af184c45c3140c8509d219.tar.gz |
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-snap.c')
-rw-r--r-- | drivers/md/dm-snap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c index 376638608..62479ac 100644 --- a/drivers/md/dm-snap.c +++ b/drivers/md/dm-snap.c @@ -1201,7 +1201,7 @@ static int snapshot_ctr(struct dm_target *ti, unsigned int argc, char **argv) ti->private = s; ti->num_flush_bios = num_flush_bios; - ti->per_bio_data_size = sizeof(struct dm_snap_tracked_chunk); + ti->per_io_data_size = sizeof(struct dm_snap_tracked_chunk); /* Add snapshot to the list of snapshots for this origin */ /* Exceptions aren't triggered till snapshot_resume() is called */ |