summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_proc.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2014-08-13 18:33:55 +0200
committerJens Axboe <axboe@fb.com>2015-11-25 17:22:00 +0100
commitf6ba86363908e3f4e3ef11f768be7ca2745b18cf (patch)
tree30a63b92a0279c4e59e1b9923b779e63bf6118b9 /drivers/block/drbd/drbd_proc.c
parentdrbd: Get rid of some first_peer_device() calls (diff)
downloadlinux-f6ba86363908e3f4e3ef11f768be7ca2745b18cf.tar.xz
linux-f6ba86363908e3f4e3ef11f768be7ca2745b18cf.zip
drbd: Move enum write_ordering_e to drbd.h
Also change the enum values to all-capital letters. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/drbd/drbd_proc.c')
-rw-r--r--drivers/block/drbd/drbd_proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/drbd/drbd_proc.c b/drivers/block/drbd/drbd_proc.c
index 3b10fa6cb039..6537b25db9c1 100644
--- a/drivers/block/drbd/drbd_proc.c
+++ b/drivers/block/drbd/drbd_proc.c
@@ -245,9 +245,9 @@ static int drbd_seq_show(struct seq_file *seq, void *v)
char wp;
static char write_ordering_chars[] = {
- [WO_none] = 'n',
- [WO_drain_io] = 'd',
- [WO_bdev_flush] = 'f',
+ [WO_NONE] = 'n',
+ [WO_DRAIN_IO] = 'd',
+ [WO_BDEV_FLUSH] = 'f',
};
seq_printf(seq, "version: " REL_VERSION " (api:%d/proto:%d-%d)\n%s\n",