aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/md/dm.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index ecff83f5b53a..9e39d2b64bf8 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -133,6 +133,13 @@ struct mapped_device {
133 atomic_t holders; 133 atomic_t holders;
134 atomic_t open_count; 134 atomic_t open_count;
135 135
136 /*
137 * The current mapping.
138 * Use dm_get_live_table{_fast} or take suspend_lock for
139 * dereference.
140 */
141 struct dm_table *map;
142
136 unsigned long flags; 143 unsigned long flags;
137 144
138 struct request_queue *queue; 145 struct request_queue *queue;
@@ -162,13 +169,6 @@ struct mapped_device {
162 struct workqueue_struct *wq; 169 struct workqueue_struct *wq;
163 170
164 /* 171 /*
165 * The current mapping.
166 * Use dm_get_live_table{_fast} or take suspend_lock for
167 * dereference.
168 */
169 struct dm_table *map;
170
171 /*
172 * io objects are allocated from here. 172 * io objects are allocated from here.
173 */ 173 */
174 mempool_t *io_pool; 174 mempool_t *io_pool;