X-Git-Url: https://git.whamcloud.com/gitweb?a=blobdiff_plain;f=lustre%2Fptlrpc%2Fpack_generic.c;h=20a742aa4bc9582f55f413d57e9656f12479fdca;hb=570d76dc3fd677357d76187ba718e339dd695788;hp=8c3f83940c490bac1c00ee80d11f995b88d5c4f7;hpb=1a8fe55b17ac2bc2195aaba446467ccdac67b564;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/pack_generic.c b/lustre/ptlrpc/pack_generic.c index 8c3f839..20a742a 100644 --- a/lustre/ptlrpc/pack_generic.c +++ b/lustre/ptlrpc/pack_generic.c @@ -2522,7 +2522,6 @@ void lustre_swab_lov_comp_md_v1(struct lov_comp_md_v1 *lum) __swab32s(&ent->lcme_layout_gen); /* no need to swab lcme_dstripe_count */ /* no need to swab lcme_cstripe_count */ - BUILD_BUG_ON(offsetof(typeof(*ent), lcme_padding_1) == 0); v1 = (struct lov_user_md_v1 *)((char *)lum + off); stripe_count = v1->lmm_stripe_count;