diff options
Diffstat (limited to 'drivers/block/drbd/drbd_proc.c')
-rw-r--r-- | drivers/block/drbd/drbd_proc.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/block/drbd/drbd_proc.c b/drivers/block/drbd/drbd_proc.c index f11e57308104..46bb8dd7890d 100644 --- a/drivers/block/drbd/drbd_proc.c +++ b/drivers/block/drbd/drbd_proc.c | |||
@@ -188,16 +188,6 @@ static void drbd_syncer_progress(struct drbd_device *device, struct seq_file *se | |||
188 | } | 188 | } |
189 | } | 189 | } |
190 | 190 | ||
191 | static void resync_dump_detail(struct seq_file *seq, struct lc_element *e) | ||
192 | { | ||
193 | struct bm_extent *bme = lc_entry(e, struct bm_extent, lce); | ||
194 | |||
195 | seq_printf(seq, "%5d %s %s\n", bme->rs_left, | ||
196 | bme->flags & BME_NO_WRITES ? "NO_WRITES" : "---------", | ||
197 | bme->flags & BME_LOCKED ? "LOCKED" : "------" | ||
198 | ); | ||
199 | } | ||
200 | |||
201 | static int drbd_seq_show(struct seq_file *seq, void *v) | 191 | static int drbd_seq_show(struct seq_file *seq, void *v) |
202 | { | 192 | { |
203 | int i, prev_i = -1; | 193 | int i, prev_i = -1; |
@@ -298,13 +288,6 @@ static int drbd_seq_show(struct seq_file *seq, void *v) | |||
298 | lc_seq_printf_stats(seq, device->act_log); | 288 | lc_seq_printf_stats(seq, device->act_log); |
299 | put_ldev(device); | 289 | put_ldev(device); |
300 | } | 290 | } |
301 | |||
302 | if (proc_details >= 2) { | ||
303 | if (device->resync) { | ||
304 | lc_seq_dump_details(seq, device->resync, "rs_left", | ||
305 | resync_dump_detail); | ||
306 | } | ||
307 | } | ||
308 | } | 291 | } |
309 | rcu_read_unlock(); | 292 | rcu_read_unlock(); |
310 | 293 | ||