Whamcloud - gitweb
LU-6486 ptlrpc: export lustre_swab_lov_mds_md 45/14545/2
authorJames Simmons <uja.ornl@yahoo.com>
Thu, 23 Apr 2015 13:30:48 +0000 (09:30 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 24 Apr 2015 17:57:47 +0000 (17:57 +0000)
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 <uja.ornl@yahoo.com>
Reviewed-on: http://review.whamcloud.com/14545
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ptlrpc/pack_generic.c

index edbe8f3..c92db1f 100644 (file)
@@ -2221,6 +2221,7 @@ void lustre_swab_lov_mds_md(struct lov_mds_md *lmm)
        __swab16s(&lmm->lmm_layout_gen);
        EXIT;
 }
        __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)
 
 void lustre_swab_lov_user_md_objects(struct lov_user_ost_data *lod,
                                      int stripe_count)