From: Christopher J. Morrone Date: Wed, 3 Apr 2013 23:43:14 +0000 (-0700) Subject: LU-3103 obdclass: Remove EXPORT_SYMBOL on static function X-Git-Tag: 2.3.65~73 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=63de33954c9c8683098d0a69f2c2193e09fb988b;p=fs%2Flustre-release.git LU-3103 obdclass: Remove EXPORT_SYMBOL on static function In LU-2912 commit 7e915f5d7177b22bd3cc800137fb505781a2c037, the function linkea_entry_pack() was accidentally delared static and then also explicitly exported with EXPORT_SYMBOL. On ppc64 gcc balks at this conflict. linkea_entry_pack() is not declared in lustre_linkea.h, so leave it static and remove the EXPORT_SYMBOL. Change-Id: I60093fc3da8b82e51530ed93427e5ee8d8e6745d Signed-off-by: Christopher J. Morrone Reviewed-on: http://review.whamcloud.com/5939 Reviewed-by: Bob Glossman Tested-by: Hudson Tested-by: Maloo Reviewed-by: Minh Diep Reviewed-by: John Hammond Reviewed-by: Oleg Drokin --- diff --git a/lustre/obdclass/linkea.c b/lustre/obdclass/linkea.c index a09df77..8c580f0 100644 --- a/lustre/obdclass/linkea.c +++ b/lustre/obdclass/linkea.c @@ -90,7 +90,6 @@ static int linkea_entry_pack(struct link_ea_entry *lee, lee->lee_reclen[1] = reclen & 0xff; return reclen; } -EXPORT_SYMBOL(linkea_entry_pack); void linkea_entry_unpack(const struct link_ea_entry *lee, int *reclen, struct lu_name *lname, struct lu_fid *pfid)