From 17f3b7c8a721915bc2c14223f28236065f30caa8 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Fri, 23 Jan 2009 17:22:26 +0000 Subject: [PATCH] Branch b1_6 b=17464 --- lustre/ptlrpc/pack_generic.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/lustre/ptlrpc/pack_generic.c b/lustre/ptlrpc/pack_generic.c index 4a92f0c..732184b 100644 --- a/lustre/ptlrpc/pack_generic.c +++ b/lustre/ptlrpc/pack_generic.c @@ -2269,20 +2269,7 @@ void lustre_swab_lov_user_md(struct lov_user_md *lum) EXIT; } -void lustre_swab_mds_md(struct lov_mds_md *lmm) -{ - ENTRY; - CDEBUG(D_IOCTL, "swabbing lov_mds_md\n"); - __swab32s(&lmm->lmm_magic); - __swab32s(&lmm->lmm_pattern); - __swab64s(&lmm->lmm_object_id); - __swab64s(&lmm->lmm_object_gr); - __swab32s(&lmm->lmm_stripe_size); - __swab32s(&lmm->lmm_stripe_count); - EXIT; -} - -void lustre_swab_mds_md(struct lov_mds_md *lmm) +void lustre_swab_lov_mds_md(struct lov_mds_md *lmm) { ENTRY; CDEBUG(D_IOCTL, "swabbing lov_mds_md\n"); -- 1.8.3.1