From 0d43141110124b25aee111852e8bab179a6e7652 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Thu, 25 Sep 2008 09:59:25 +0000 Subject: [PATCH] Branch b1_8_gate b=16771 i=adilger, johann Use fix size timestamp instead of time_t in the cfg_marker and keep compitibility for old cfg_marker on 32bit system. --- lustre/obdclass/obd_config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/obdclass/obd_config.c b/lustre/obdclass/obd_config.c index 6c777fe..f2bcddd 100644 --- a/lustre/obdclass/obd_config.c +++ b/lustre/obdclass/obd_config.c @@ -1007,8 +1007,8 @@ static int class_config_llog_handler(struct llog_handle * handle, /* Figure out config state info */ if (lcfg->lcfg_command == LCFG_MARKER) { struct cfg_marker *marker = lustre_cfg_buf(lcfg, 1); - if (swab) - lustre_swab_cfg_marker(marker); + lustre_swab_cfg_marker(marker, swab, + LUSTRE_CFG_BUFLEN(lcfg, 1)); CDEBUG(D_CONFIG, "Marker, inst_flg=%#x mark_flg=%#x\n", clli->cfg_flags, marker->cm_flags); if (marker->cm_flags & CM_START) { -- 1.8.3.1