summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_proc.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2013-11-22 15:53:41 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2014-07-10 15:22:19 +0200
commite952658020c5150ad4987d313e25e8e2fb38d529 (patch)
tree2854dd350aa75ce6fbb8b491346d27dff6ff14e0 /drivers/block/drbd/drbd_proc.c
parent6a27b656fc0210e976db362e1368c56db05c8f08 (diff)
downloadlinux-e952658020c5150ad4987d313e25e8e2fb38d529.tar.gz
linux-e952658020c5150ad4987d313e25e8e2fb38d529.tar.bz2
linux-e952658020c5150ad4987d313e25e8e2fb38d529.zip
drbd: Move write_ordering from connection to resource
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_proc.c b/drivers/block/drbd/drbd_proc.c
index 89736bdbbc70..f11e57308104 100644
--- a/drivers/block/drbd/drbd_proc.c
+++ b/drivers/block/drbd/drbd_proc.c
@@ -281,7 +281,7 @@ static int drbd_seq_show(struct seq_file *seq, void *v)
atomic_read(&device->unacked_cnt),
atomic_read(&device->ap_bio_cnt),
first_peer_device(device)->connection->epochs,
- write_ordering_chars[first_peer_device(device)->connection->write_ordering]
+ write_ordering_chars[device->resource->write_ordering]
);
seq_printf(seq, " oos:%llu\n",
Bit2KB((unsigned long long)