diff options
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r-- | include/linux/device-mapper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index e3d1c33d1558..d44a99650af3 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h | |||
@@ -64,6 +64,10 @@ typedef int (*dm_status_fn) (struct dm_target *ti, status_type_t status_type, | |||
64 | 64 | ||
65 | typedef int (*dm_message_fn) (struct dm_target *ti, unsigned argc, char **argv); | 65 | typedef int (*dm_message_fn) (struct dm_target *ti, unsigned argc, char **argv); |
66 | 66 | ||
67 | typedef int (*dm_ioctl_fn) (struct dm_target *ti, struct inode *inode, | ||
68 | struct file *filp, unsigned int cmd, | ||
69 | unsigned long arg); | ||
70 | |||
67 | void dm_error(const char *message); | 71 | void dm_error(const char *message); |
68 | 72 | ||
69 | /* | 73 | /* |
@@ -91,6 +95,7 @@ struct target_type { | |||
91 | dm_resume_fn resume; | 95 | dm_resume_fn resume; |
92 | dm_status_fn status; | 96 | dm_status_fn status; |
93 | dm_message_fn message; | 97 | dm_message_fn message; |
98 | dm_ioctl_fn ioctl; | ||
94 | }; | 99 | }; |
95 | 100 | ||
96 | struct io_restrictions { | 101 | struct io_restrictions { |