aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/device-mapper.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index deac3b4e5e18..e6bf3b8c7bf2 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -103,7 +103,8 @@ void dm_error(const char *message);
103/* 103/*
104 * Combine device limits. 104 * Combine device limits.
105 */ 105 */
106void dm_set_device_limits(struct dm_target *ti, struct block_device *bdev); 106int dm_set_device_limits(struct dm_target *ti, struct dm_dev *dev,
107 sector_t start, void *data);
107 108
108struct dm_dev { 109struct dm_dev {
109 struct block_device *bdev; 110 struct block_device *bdev;
@@ -163,7 +164,6 @@ struct dm_target {
163 sector_t begin; 164 sector_t begin;
164 sector_t len; 165 sector_t len;
165 166
166 /* FIXME: turn this into a mask, and merge with queue_limits */
167 /* Always a power of 2 */ 167 /* Always a power of 2 */
168 sector_t split_io; 168 sector_t split_io;
169 169
@@ -177,12 +177,6 @@ struct dm_target {
177 */ 177 */
178 unsigned num_flush_requests; 178 unsigned num_flush_requests;
179 179
180 /*
181 * These are automatically filled in by
182 * dm_table_get_device.
183 */
184 struct queue_limits limits;
185
186 /* target specific data */ 180 /* target specific data */
187 void *private; 181 void *private;
188 182