[PATCH 6/6] DDF: ddf_set_disk: fix minor endianness bug
From: <hidden>
Date: 2013-07-21 17:28:24
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: <hidden>
Date: 2013-07-21 17:28:24
Subsystem:
the rest · Maintainer:
Linus Torvalds
--- super-ddf.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/super-ddf.c b/super-ddf.c
index ff71be2..5a0c998 100644
--- a/super-ddf.c
+++ b/super-ddf.c@@ -4170,7 +4170,8 @@ static void ddf_set_disk(struct active_array *a, int n, int state) __func__, dl->pdnum, dl->major, dl->minor, be32_to_cpu(dl->disk.refnum)); dprintf("%s: array %u disk %u ref %08x pd %d\n", - __func__, inst, n_bvd, vc->phys_refnum[n_bvd], pd); + __func__, inst, n_bvd, + be32_to_cpu(vc->phys_refnum[n_bvd]), pd); if ((state & DS_INSYNC) && ! (state & DS_FAULTY)) { pd = dl->pdnum; /* FIXME: is this really correct ? */ vc->phys_refnum[n_bvd] = dl->disk.refnum;
--
1.7.1