From: James Simmons Date: Thu, 23 Apr 2015 13:30:48 +0000 (-0400) Subject: LU-6486 ptlrpc: export lustre_swab_lov_mds_md X-Git-Tag: 2.7.53~43 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=1982c0c34313a0ab135ce5a25c54cc01dd8556e5;ds=sidebyside LU-6486 ptlrpc: export lustre_swab_lov_mds_md For ppc64 clients lustre would not mount due to an Unknown symbol error. This is due to lustre_swab_lov_mds_md not being exported. A simple export of this function resolves this issue. Change-Id: Ib924045988291efbc5ac129ce58354bbc72aa7b6 Signed-off-by: James Simmons Reviewed-on: http://review.whamcloud.com/14545 Reviewed-by: Dmitry Eremin Tested-by: Jenkins Reviewed-by: John L. Hammond Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/ptlrpc/pack_generic.c b/lustre/ptlrpc/pack_generic.c index edbe8f3..c92db1f 100644 --- a/lustre/ptlrpc/pack_generic.c +++ b/lustre/ptlrpc/pack_generic.c @@ -2221,6 +2221,7 @@ void lustre_swab_lov_mds_md(struct lov_mds_md *lmm) __swab16s(&lmm->lmm_layout_gen); EXIT; } +EXPORT_SYMBOL(lustre_swab_lov_mds_md); void lustre_swab_lov_user_md_objects(struct lov_user_ost_data *lod, int stripe_count)