aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-snap.h')
-rw-r--r--drivers/md/dm-snap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/dm-snap.h b/drivers/md/dm-snap.h
index 15fa2ae6cdc2..650e0f1f51d8 100644
--- a/drivers/md/dm-snap.h
+++ b/drivers/md/dm-snap.h
@@ -30,7 +30,7 @@ typedef sector_t chunk_t;
30 * An exception is used where an old chunk of data has been 30 * An exception is used where an old chunk of data has been
31 * replaced by a new one. 31 * replaced by a new one.
32 */ 32 */
33struct exception { 33struct dm_snap_exception {
34 struct list_head hash_list; 34 struct list_head hash_list;
35 35
36 chunk_t old_chunk; 36 chunk_t old_chunk;
@@ -58,13 +58,13 @@ struct exception_store {
58 * Find somewhere to store the next exception. 58 * Find somewhere to store the next exception.
59 */ 59 */
60 int (*prepare_exception) (struct exception_store *store, 60 int (*prepare_exception) (struct exception_store *store,
61 struct exception *e); 61 struct dm_snap_exception *e);
62 62
63 /* 63 /*
64 * Update the metadata with this exception. 64 * Update the metadata with this exception.
65 */ 65 */
66 void (*commit_exception) (struct exception_store *store, 66 void (*commit_exception) (struct exception_store *store,
67 struct exception *e, 67 struct dm_snap_exception *e,
68 void (*callback) (void *, int success), 68 void (*callback) (void *, int success),
69 void *callback_context); 69 void *callback_context);
70 70