[PATCH 3/3] Staging: lustre: fld: moved EXPORT_SYMBOL() for a fix.

Gary Rookard garyrookard at gmail.com
Fri Mar 14 00:58:09 UTC 2014


I moved EXPORT_SYMBOL(fld_client_proc_fini); for a EXPORT_SYMBOL
should be immediately below its function warning fix.

Signed-off-by: Gary Alan Rookard <garyrookard at gmail.com>

---
Correct patch, first two breaks build.
On branch staging-next
 drivers/staging/lustre/lustre/fld/fld_request.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/lustre/lustre/fld/fld_request.c b/drivers/staging/lustre/lustre/fld/fld_request.c
index 0d2a9ab..39e5501 100644
--- a/drivers/staging/lustre/lustre/fld/fld_request.c
+++ b/drivers/staging/lustre/lustre/fld/fld_request.c
@@ -325,9 +325,8 @@ void fld_client_proc_fini(struct lu_client_fld *fld)
 {
 	return;
 }
-EXPORT_SYMBOL(fld_client_proc_fini);
 #endif
-
+EXPORT_SYMBOL(fld_client_proc_fini);
 static inline int hash_is_sane(int hash)
 {
 	return hash >= 0 && hash < ARRAY_SIZE(fld_hash);
-- 
1.9.0



More information about the devel mailing list