diff options
Diffstat (limited to 'drivers/md/dm-snap.c')
-rw-r--r-- | drivers/md/dm-snap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c index 08312b46463a..b84bc1aae353 100644 --- a/drivers/md/dm-snap.c +++ b/drivers/md/dm-snap.c | |||
@@ -530,7 +530,7 @@ static int snapshot_ctr(struct dm_target *ti, unsigned int argc, char **argv) | |||
530 | } | 530 | } |
531 | 531 | ||
532 | ti->private = s; | 532 | ti->private = s; |
533 | ti->split_io = chunk_size; | 533 | ti->split_io = s->chunk_size; |
534 | 534 | ||
535 | return 0; | 535 | return 0; |
536 | 536 | ||
@@ -1204,7 +1204,7 @@ static int origin_status(struct dm_target *ti, status_type_t type, char *result, | |||
1204 | 1204 | ||
1205 | static struct target_type origin_target = { | 1205 | static struct target_type origin_target = { |
1206 | .name = "snapshot-origin", | 1206 | .name = "snapshot-origin", |
1207 | .version = {1, 1, 0}, | 1207 | .version = {1, 4, 0}, |
1208 | .module = THIS_MODULE, | 1208 | .module = THIS_MODULE, |
1209 | .ctr = origin_ctr, | 1209 | .ctr = origin_ctr, |
1210 | .dtr = origin_dtr, | 1210 | .dtr = origin_dtr, |
@@ -1215,7 +1215,7 @@ static struct target_type origin_target = { | |||
1215 | 1215 | ||
1216 | static struct target_type snapshot_target = { | 1216 | static struct target_type snapshot_target = { |
1217 | .name = "snapshot", | 1217 | .name = "snapshot", |
1218 | .version = {1, 1, 0}, | 1218 | .version = {1, 4, 0}, |
1219 | .module = THIS_MODULE, | 1219 | .module = THIS_MODULE, |
1220 | .ctr = snapshot_ctr, | 1220 | .ctr = snapshot_ctr, |
1221 | .dtr = snapshot_dtr, | 1221 | .dtr = snapshot_dtr, |