From 0fedb8ca222c6c02ab0a962406a35e193fa02d2a Mon Sep 17 00:00:00 2001 From: yangsheng Date: Wed, 3 Sep 2008 09:01:07 +0000 Subject: [PATCH] Branch b1_8_gate b=16771 i=adilger, johann Swab cfg_marker along with lcfg. --- lustre/obdclass/llog_swab.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lustre/obdclass/llog_swab.c b/lustre/obdclass/llog_swab.c index bce46e3..ab8e970 100644 --- a/lustre/obdclass/llog_swab.c +++ b/lustre/obdclass/llog_swab.c @@ -273,3 +273,17 @@ void lustre_swab_lustre_cfg(struct lustre_cfg *lcfg) return; } EXPORT_SYMBOL(lustre_swab_lustre_cfg); + +void lustre_swab_cfg_marker(struct cfg_marker *marker) +{ + int i; + ENTRY; + + __swab32s(&marker->cm_step); + __swab32s(&marker->cm_flags); + __swab32s(&marker->cm_vers); + + EXIT; + return; +} +EXPORT_SYMBOL(lustre_swab_cfg_marker); -- 1.8.3.1