summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_proc.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-01-19 13:12:45 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-08-29 11:27:03 +0200
commit89e58e755e37137135c28a90c93be1b28faff485 (patch)
treed451a7184a8d48b4f8096417375fb618968e505f /drivers/block/drbd/drbd_proc.c
parent2111438b30a509cfe8a1595d7fad304308ff2466 (diff)
downloadlinux-89e58e755e37137135c28a90c93be1b28faff485.tar.gz
linux-89e58e755e37137135c28a90c93be1b28faff485.tar.bz2
linux-89e58e755e37137135c28a90c93be1b28faff485.zip
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.c4
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)
drbd_role_str(mdev->state.peer),
drbd_disk_str(mdev->state.disk),
drbd_disk_str(mdev->state.pdsk),
- (mdev->net_conf == NULL ? ' ' :
- (mdev->net_conf->wire_protocol - DRBD_PROT_A+'A')),
+ (mdev->tconn->net_conf == NULL ? ' ' :
+ (mdev->tconn->net_conf->wire_protocol - DRBD_PROT_A+'A')),
is_susp(mdev->state) ? 's' : 'r',
mdev->state.aftr_isp ? 'a' : '-',
mdev->state.peer_isp ? 'p' : '-',