aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap-persistent.c
diff options
context:
space:
mode:
authorJon Brassow <jbrassow@redhat.com>2009-12-10 18:52:10 -0500
committerAlasdair G Kergon <agk@redhat.com>2009-12-10 18:52:10 -0500
commit1d4989c858093bda0426be536fc7f9c415857836 (patch)
treef3d831048cb65b39d5fb89178d2a6de599518a2b /drivers/md/dm-snap-persistent.c
parentd32a6ea65fbc33621f9c790da3dff10201640b2a (diff)
dm snapshot: rename dm_snap_exception to dm_exception
The exception structure is not necessarily just a snapshot element (especially after we pull it out of dm-snap.c). Renaming appropriately. Signed-off-by: Jonathan Brassow <jbrassow@redhat.com> Reviewed-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-snap-persistent.c')
-rw-r--r--drivers/md/dm-snap-persistent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-snap-persistent.c b/drivers/md/dm-snap-persistent.c
index 7e855fbeb22e..24b8acd1be83 100644
--- a/drivers/md/dm-snap-persistent.c
+++ b/drivers/md/dm-snap-persistent.c
@@ -580,7 +580,7 @@ static int persistent_read_metadata(struct dm_exception_store *store,
580} 580}
581 581
582static int persistent_prepare_exception(struct dm_exception_store *store, 582static int persistent_prepare_exception(struct dm_exception_store *store,
583 struct dm_snap_exception *e) 583 struct dm_exception *e)
584{ 584{
585 struct pstore *ps = get_info(store); 585 struct pstore *ps = get_info(store);
586 uint32_t stride; 586 uint32_t stride;
@@ -607,7 +607,7 @@ static int persistent_prepare_exception(struct dm_exception_store *store,
607} 607}
608 608
609static void persistent_commit_exception(struct dm_exception_store *store, 609static void persistent_commit_exception(struct dm_exception_store *store,
610 struct dm_snap_exception *e, 610 struct dm_exception *e,
611 void (*callback) (void *, int success), 611 void (*callback) (void *, int success),
612 void *callback_context) 612 void *callback_context)
613{ 613{