From 63de33954c9c8683098d0a69f2c2193e09fb988b Mon Sep 17 00:00:00 2001 From: "Christopher J. Morrone" Date: Wed, 3 Apr 2013 16:43:14 -0700 Subject: [PATCH] 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 --- lustre/obdclass/linkea.c | 1 - 1 file changed, 1 deletion(-) 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) -- 1.8.3.1