diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-01-19 07:12:45 -0500 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-08-29 05:27:03 -0400 |
commit | 89e58e755e37137135c28a90c93be1b28faff485 (patch) | |
tree | d451a7184a8d48b4f8096417375fb618968e505f /drivers/block/drbd/drbd_proc.c | |
parent | 2111438b30a509cfe8a1595d7fad304308ff2466 (diff) |
drbd: moved net_conf from mdev to tconn
Besides moving the struct member, everything else is generated by:
sed -i -e 's/mdev->net_conf/mdev->tconn->net_conf/g' \
-e 's/odev->net_conf/odev->tconn->net_conf/g' \
*.[ch]
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_proc.c')
-rw-r--r-- | drivers/block/drbd/drbd_proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_proc.c b/drivers/block/drbd/drbd_proc.c index 2959cdfb77f5..4e53cb3d99e7 100644 --- a/drivers/block/drbd/drbd_proc.c +++ b/drivers/block/drbd/drbd_proc.c | |||
@@ -254,8 +254,8 @@ static int drbd_seq_show(struct seq_file *seq, void *v) | |||
254 | drbd_role_str(mdev->state.peer), | 254 | drbd_role_str(mdev->state.peer), |
255 | drbd_disk_str(mdev->state.disk), | 255 | drbd_disk_str(mdev->state.disk), |
256 | drbd_disk_str(mdev->state.pdsk), | 256 | drbd_disk_str(mdev->state.pdsk), |
257 | (mdev->net_conf == NULL ? ' ' : | 257 | (mdev->tconn->net_conf == NULL ? ' ' : |
258 | (mdev->net_conf->wire_protocol - DRBD_PROT_A+'A')), | 258 | (mdev->tconn->net_conf->wire_protocol - DRBD_PROT_A+'A')), |
259 | is_susp(mdev->state) ? 's' : 'r', | 259 | is_susp(mdev->state) ? 's' : 'r', |
260 | mdev->state.aftr_isp ? 'a' : '-', | 260 | mdev->state.aftr_isp ? 'a' : '-', |
261 | mdev->state.peer_isp ? 'p' : '-', | 261 | mdev->state.peer_isp ? 'p' : '-', |