]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/md/dm-snap.c
Merge remote-tracking branch 'dt-rh/for-next'
[karo-tx-linux.git] / drivers / md / dm-snap.c
index 3766386080a48fbfb06226ae80646b5e2f0e653a..62479ac4baf7e3a7bc9a6b00fcdce7f7dbd5d49c 100644 (file)
@@ -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 */