13 #include <linux/export.h>
14 #include <linux/slab.h>
17 #define DM_MSG_PREFIX "transient snapshot"
32 int (*
callback)(
void *callback_context,
34 void *callback_context)
56 void (*
callback) (
void *,
int success),
57 void *callback_context)
70 *metadata_sectors = 0;
74 unsigned argc,
char **argv)
107 .ctr = transient_ctr,
108 .dtr = transient_dtr,
109 .read_metadata = transient_read_metadata,
110 .prepare_exception = transient_prepare_exception,
111 .commit_exception = transient_commit_exception,
112 .usage = transient_usage,
113 .status = transient_status,
119 .ctr = transient_ctr,
120 .dtr = transient_dtr,
121 .read_metadata = transient_read_metadata,
122 .prepare_exception = transient_prepare_exception,
123 .commit_exception = transient_commit_exception,
124 .usage = transient_usage,
125 .status = transient_status,
134 DMWARN(
"Unable to register transient exception store type");
140 DMWARN(
"Unable to register old-style transient "
141 "exception store type");