aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device-mapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r--include/linux/device-mapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index 7a48d428d0a1..03ef41c1eaac 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -55,6 +55,7 @@ typedef int (*dm_endio_fn) (struct dm_target *ti,
55 struct bio *bio, int error, 55 struct bio *bio, int error,
56 union map_info *map_context); 56 union map_info *map_context);
57 57
58typedef void (*dm_flush_fn) (struct dm_target *ti);
58typedef void (*dm_presuspend_fn) (struct dm_target *ti); 59typedef void (*dm_presuspend_fn) (struct dm_target *ti);
59typedef void (*dm_postsuspend_fn) (struct dm_target *ti); 60typedef void (*dm_postsuspend_fn) (struct dm_target *ti);
60typedef int (*dm_preresume_fn) (struct dm_target *ti); 61typedef int (*dm_preresume_fn) (struct dm_target *ti);
@@ -96,6 +97,7 @@ struct target_type {
96 dm_dtr_fn dtr; 97 dm_dtr_fn dtr;
97 dm_map_fn map; 98 dm_map_fn map;
98 dm_endio_fn end_io; 99 dm_endio_fn end_io;
100 dm_flush_fn flush;
99 dm_presuspend_fn presuspend; 101 dm_presuspend_fn presuspend;
100 dm_postsuspend_fn postsuspend; 102 dm_postsuspend_fn postsuspend;
101 dm_preresume_fn preresume; 103 dm_preresume_fn preresume;