aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap-persistent.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-snap-persistent.c')
-rw-r--r--drivers/md/dm-snap-persistent.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/md/dm-snap-persistent.c b/drivers/md/dm-snap-persistent.c
index 936b34e0959f..0bbbe3b7431e 100644
--- a/drivers/md/dm-snap-persistent.c
+++ b/drivers/md/dm-snap-persistent.c
@@ -683,12 +683,13 @@ int dm_create_persistent(struct dm_exception_store *store)
683 return -ENOMEM; 683 return -ENOMEM;
684 } 684 }
685 685
686 store->destroy = persistent_destroy; 686 store->type.dtr = persistent_destroy;
687 store->read_metadata = persistent_read_metadata; 687 store->type.read_metadata = persistent_read_metadata;
688 store->prepare_exception = persistent_prepare_exception; 688 store->type.prepare_exception = persistent_prepare_exception;
689 store->commit_exception = persistent_commit_exception; 689 store->type.commit_exception = persistent_commit_exception;
690 store->drop_snapshot = persistent_drop_snapshot; 690 store->type.drop_snapshot = persistent_drop_snapshot;
691 store->fraction_full = persistent_fraction_full; 691 store->type.fraction_full = persistent_fraction_full;
692
692 store->context = ps; 693 store->context = ps;
693 694
694 return 0; 695 return 0;