From: Liu Xuezhao Date: Sat, 14 Apr 2012 08:26:37 +0000 (+0800) Subject: LU-1347 style: removes obsolete EXPORT_SYMTAB macros X-Git-Tag: 2.2.55~56 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=e2af7fb3c91dfb13d34d8e1b2f2df8c09621f768 LU-1347 style: removes obsolete EXPORT_SYMTAB macros EXPORT_SYMTAB is obsolete after 2.4 kernel, this patch removes all EXPORT_SYMTAB macros from source code. Signed-off-by: Liu Xuezhao Change-Id: I5fe3a5544d0cdb45f8d40cd5828a18ea3e1ad26a Reviewed-on: http://review.whamcloud.com/2671 Tested-by: Hudson Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/libcfs/include/libcfs/lucache.h b/libcfs/include/libcfs/lucache.h index 9c75c61..0f80cdd 100644 --- a/libcfs/include/libcfs/lucache.h +++ b/libcfs/include/libcfs/lucache.h @@ -35,10 +35,6 @@ #ifndef _LUCACHE_H #define _LUCACHE_H -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #include /** \defgroup ucache ucache diff --git a/libcfs/include/libcfs/params_tree.h b/libcfs/include/libcfs/params_tree.h index 56e956d..c371c80 100644 --- a/libcfs/include/libcfs/params_tree.h +++ b/libcfs/include/libcfs/params_tree.h @@ -38,10 +38,6 @@ #ifndef __PARAMS_TREE_H__ #define __PARAMS_TREE_H__ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #include #undef LPROCFS diff --git a/libcfs/libcfs/debug.c b/libcfs/libcfs/debug.c index e2dec83..8d46a8b 100644 --- a/libcfs/libcfs/debug.c +++ b/libcfs/libcfs/debug.c @@ -39,10 +39,6 @@ * */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - # define DEBUG_SUBSYSTEM S_LNET #include diff --git a/libcfs/libcfs/libcfs_string.c b/libcfs/libcfs/libcfs_string.c index 00a732a..cd7ef49 100644 --- a/libcfs/libcfs/libcfs_string.c +++ b/libcfs/libcfs/libcfs_string.c @@ -40,10 +40,6 @@ * Author: Nathan Rutman */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #include /* non-0 = don't match */ diff --git a/libcfs/libcfs/linux/linux-debug.c b/libcfs/libcfs/linux/linux-debug.c index db049fe..0f61f2e 100644 --- a/libcfs/libcfs/linux/linux-debug.c +++ b/libcfs/libcfs/linux/linux-debug.c @@ -38,10 +38,6 @@ * Author: Phil Schwan */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #ifndef AUTOCONF_INCLUDED #include #endif diff --git a/libcfs/libcfs/linux/linux-proc.c b/libcfs/libcfs/linux/linux-proc.c index e82b675..7612c60 100644 --- a/libcfs/libcfs/linux/linux-proc.c +++ b/libcfs/libcfs/linux/linux-proc.c @@ -40,10 +40,6 @@ * Author: Phil Schwan */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #ifndef AUTOCONF_INCLUDED #include #endif diff --git a/libcfs/libcfs/lwt.c b/libcfs/libcfs/lwt.c index 44b2376..ea5d076 100644 --- a/libcfs/libcfs/lwt.c +++ b/libcfs/libcfs/lwt.c @@ -36,10 +36,6 @@ * Author: Eric Barton */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_LNET #include diff --git a/libcfs/libcfs/module.c b/libcfs/libcfs/module.c index 757723e..c9763c7 100644 --- a/libcfs/libcfs/module.c +++ b/libcfs/libcfs/module.c @@ -32,9 +32,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LNET #include diff --git a/libcfs/libcfs/nidstrings.c b/libcfs/libcfs/nidstrings.c index f448f9e..4bcb858 100644 --- a/libcfs/libcfs/nidstrings.c +++ b/libcfs/libcfs/nidstrings.c @@ -38,10 +38,6 @@ * Author: Phil Schwan */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_LNET #include diff --git a/libcfs/libcfs/prng.c b/libcfs/libcfs/prng.c index 6be1fd6..b55b0bf 100644 --- a/libcfs/libcfs/prng.c +++ b/libcfs/libcfs/prng.c @@ -39,10 +39,6 @@ * algorithm recommended by Marsaglia */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #include /* diff --git a/libcfs/libcfs/winnt/winnt-proc.c b/libcfs/libcfs/winnt/winnt-proc.c index cb517f6..5c10c4f 100644 --- a/libcfs/libcfs/winnt/winnt-proc.c +++ b/libcfs/libcfs/winnt/winnt-proc.c @@ -32,11 +32,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ - -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - # define DEBUG_SUBSYSTEM S_LNET #include diff --git a/lnet/klnds/mxlnd/mxlnd.h b/lnet/klnds/mxlnd/mxlnd.h index 60d272a..3cb6c56 100644 --- a/lnet/klnds/mxlnd/mxlnd.h +++ b/lnet/klnds/mxlnd/mxlnd.h @@ -39,9 +39,6 @@ * Author: Scott Atchley */ -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif #ifndef AUTOCONF_INCLUDED #include #endif diff --git a/lnet/klnds/o2iblnd/o2iblnd.h b/lnet/klnds/o2iblnd/o2iblnd.h index bbb66f3..4ae2a30 100644 --- a/lnet/klnds/o2iblnd/o2iblnd.h +++ b/lnet/klnds/o2iblnd/o2iblnd.h @@ -38,9 +38,6 @@ * Author: Eric Barton */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #ifndef AUTOCONF_INCLUDED #include #endif diff --git a/lnet/klnds/ptllnd/ptllnd.h b/lnet/klnds/ptllnd/ptllnd.h index a804177..32becf4 100644 --- a/lnet/klnds/ptllnd/ptllnd.h +++ b/lnet/klnds/ptllnd/ptllnd.h @@ -36,9 +36,6 @@ * Author: PJ Kirner */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #ifndef AUTOCONF_INCLUDED #include #endif diff --git a/lnet/klnds/qswlnd/qswlnd.h b/lnet/klnds/qswlnd/qswlnd.h index e4187fa..cd2ffcf 100644 --- a/lnet/klnds/qswlnd/qswlnd.h +++ b/lnet/klnds/qswlnd/qswlnd.h @@ -38,9 +38,6 @@ #ifndef _QSWNAL_H #define _QSWNAL_H -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #include #undef printf /* nasty QSW #define */ diff --git a/lnet/klnds/ralnd/ralnd.h b/lnet/klnds/ralnd/ralnd.h index b4c3f61..14f2466 100644 --- a/lnet/klnds/ralnd/ralnd.h +++ b/lnet/klnds/ralnd/ralnd.h @@ -36,9 +36,6 @@ * Author: Eric Barton */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #ifndef AUTOCONF_INCLUDED #include #endif diff --git a/lnet/klnds/socklnd/socklnd.h b/lnet/klnds/socklnd/socklnd.h index a07e257..8f98a8f 100644 --- a/lnet/klnds/socklnd/socklnd.h +++ b/lnet/klnds/socklnd/socklnd.h @@ -26,10 +26,6 @@ */ #define DEBUG_PORTAL_ALLOC -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_LND #if defined(__linux__) diff --git a/lnet/klnds/socklnd/socklnd_lib-linux.h b/lnet/klnds/socklnd/socklnd_lib-linux.h index ee21efb..3076427 100644 --- a/lnet/klnds/socklnd/socklnd_lib-linux.h +++ b/lnet/klnds/socklnd/socklnd_lib-linux.h @@ -33,9 +33,6 @@ */ #define DEBUG_PORTAL_ALLOC -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #ifndef __LINUX_SOCKNAL_LIB_H__ #define __LINUX_SOCKNAL_LIB_H__ diff --git a/lnet/klnds/socklnd/socklnd_lib-winnt.h b/lnet/klnds/socklnd/socklnd_lib-winnt.h index c6896ed..1bd51c2 100644 --- a/lnet/klnds/socklnd/socklnd_lib-winnt.h +++ b/lnet/klnds/socklnd/socklnd_lib-winnt.h @@ -33,10 +33,6 @@ */ #define DEBUG_PORTAL_ALLOC -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #ifndef __WINNT_TDILND_LIB_H__ #define __WINNT_TDILND_LIB_H__ diff --git a/lnet/lnet/module.c b/lnet/lnet/module.c index 4c85b53..2327797b 100644 --- a/lnet/lnet/module.c +++ b/lnet/lnet/module.c @@ -32,9 +32,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LNET #include diff --git a/lustre/cmm/cmm_device.c b/lustre/cmm/cmm_device.c index f51049c..f5422b0 100644 --- a/lustre/cmm/cmm_device.c +++ b/lustre/cmm/cmm_device.c @@ -43,9 +43,7 @@ * \addtogroup cmm * @{ */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif + #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/cmm/cmm_lproc.c b/lustre/cmm/cmm_lproc.c index f724f06..f864cc7 100644 --- a/lustre/cmm/cmm_lproc.c +++ b/lustre/cmm/cmm_lproc.c @@ -38,9 +38,7 @@ * Author: Wang Di * Author: Yury Umanets */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif + #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/cmm/cmm_object.c b/lustre/cmm/cmm_object.c index 8ca8772..01e473a 100644 --- a/lustre/cmm/cmm_object.c +++ b/lustre/cmm/cmm_object.c @@ -40,10 +40,6 @@ * Author: Mike Pershin */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/cmm/cmm_split.c b/lustre/cmm/cmm_split.c index 380fb6b..e799fa9 100644 --- a/lustre/cmm/cmm_split.c +++ b/lustre/cmm/cmm_split.c @@ -40,10 +40,6 @@ * Author: Yury Umanets */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/cmm/mdc_device.c b/lustre/cmm/mdc_device.c index 85a6ad7..58f72f0 100644 --- a/lustre/cmm/mdc_device.c +++ b/lustre/cmm/mdc_device.c @@ -40,9 +40,6 @@ * Author: Mike Pershin */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/cmm/mdc_object.c b/lustre/cmm/mdc_object.c index 2c06733..71dd7fa 100644 --- a/lustre/cmm/mdc_object.c +++ b/lustre/cmm/mdc_object.c @@ -38,10 +38,6 @@ * Author: Mike Pershin */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_MDS #include #include diff --git a/lustre/fid/fid_handler.c b/lustre/fid/fid_handler.c index e128f58..e0a3bfa 100644 --- a/lustre/fid/fid_handler.c +++ b/lustre/fid/fid_handler.c @@ -40,9 +40,6 @@ * Author: Yury Umanets */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_FID #ifdef __KERNEL__ diff --git a/lustre/fid/fid_lib.c b/lustre/fid/fid_lib.c index 0bb52ae..6591271 100644 --- a/lustre/fid/fid_lib.c +++ b/lustre/fid/fid_lib.c @@ -39,9 +39,6 @@ * Author: Yury Umanets */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_FID #ifdef __KERNEL__ diff --git a/lustre/fid/fid_request.c b/lustre/fid/fid_request.c index d97d396..5f5f0f4 100644 --- a/lustre/fid/fid_request.c +++ b/lustre/fid/fid_request.c @@ -40,9 +40,6 @@ * Author: Yury Umanets */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_FID #ifdef __KERNEL__ diff --git a/lustre/fid/fid_store.c b/lustre/fid/fid_store.c index 01b25cb..97f4867 100644 --- a/lustre/fid/fid_store.c +++ b/lustre/fid/fid_store.c @@ -40,9 +40,6 @@ * Author: Yury Umanets */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_FID #ifdef __KERNEL__ diff --git a/lustre/fid/lproc_fid.c b/lustre/fid/lproc_fid.c index 956358e..83e701d 100644 --- a/lustre/fid/lproc_fid.c +++ b/lustre/fid/lproc_fid.c @@ -40,9 +40,6 @@ * Author: Yury Umanets */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_FID #ifdef __KERNEL__ diff --git a/lustre/fld/fld_cache.c b/lustre/fld/fld_cache.c index 1eb22e5..11cf0c5 100644 --- a/lustre/fld/fld_cache.c +++ b/lustre/fld/fld_cache.c @@ -39,9 +39,6 @@ * Author: Yury Umanets */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_FLD #ifdef __KERNEL__ diff --git a/lustre/fld/fld_handler.c b/lustre/fld/fld_handler.c index 031b4f4..fd83f96 100644 --- a/lustre/fld/fld_handler.c +++ b/lustre/fld/fld_handler.c @@ -42,9 +42,6 @@ * Author: Pravin Shelar */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_FLD #ifdef __KERNEL__ diff --git a/lustre/fld/fld_index.c b/lustre/fld/fld_index.c index ed21090..bd44fd0 100644 --- a/lustre/fld/fld_index.c +++ b/lustre/fld/fld_index.c @@ -38,9 +38,7 @@ * Author: WangDi * Author: Yury Umanets */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif + #define DEBUG_SUBSYSTEM S_FLD #ifdef __KERNEL__ diff --git a/lustre/fld/fld_request.c b/lustre/fld/fld_request.c index 64eef6c..2e18b08 100644 --- a/lustre/fld/fld_request.c +++ b/lustre/fld/fld_request.c @@ -40,9 +40,6 @@ * Author: Yury Umanets */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_FLD #ifdef __KERNEL__ diff --git a/lustre/fld/lproc_fld.c b/lustre/fld/lproc_fld.c index e9815c6..09024dd 100644 --- a/lustre/fld/lproc_fld.c +++ b/lustre/fld/lproc_fld.c @@ -38,9 +38,6 @@ * Author: Yury Umanets */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_FLD #ifdef __KERNEL__ diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index 2933b19..213e94d 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -34,9 +34,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LDLM #ifdef __KERNEL__ diff --git a/lustre/ldlm/ldlm_lockd.c b/lustre/ldlm/ldlm_lockd.c index 3cffc74..f4e1d91 100644 --- a/lustre/ldlm/ldlm_lockd.c +++ b/lustre/ldlm/ldlm_lockd.c @@ -39,9 +39,6 @@ * Author: Phil Schwan */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LDLM #ifdef __KERNEL__ diff --git a/lustre/lmv/lmv_fld.c b/lustre/lmv/lmv_fld.c index a43eb64..1adcb54 100644 --- a/lustre/lmv/lmv_fld.c +++ b/lustre/lmv/lmv_fld.c @@ -32,9 +32,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LMV #ifdef __KERNEL__ #include diff --git a/lustre/lmv/lmv_intent.c b/lustre/lmv/lmv_intent.c index 3a0063d..6bb2fb8 100644 --- a/lustre/lmv/lmv_intent.c +++ b/lustre/lmv/lmv_intent.c @@ -34,9 +34,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LMV #ifdef __KERNEL__ #include diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index 76f1db9..1cd161b 100644 --- a/lustre/lmv/lmv_obd.c +++ b/lustre/lmv/lmv_obd.c @@ -34,9 +34,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LMV #ifdef __KERNEL__ #include diff --git a/lustre/lmv/lmv_object.c b/lustre/lmv/lmv_object.c index 7e88f95..dc1a63e 100644 --- a/lustre/lmv/lmv_object.c +++ b/lustre/lmv/lmv_object.c @@ -34,9 +34,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LMV #ifdef __KERNEL__ #include diff --git a/lustre/lov/lov_ea.c b/lustre/lov/lov_ea.c index 4d05b81..c2c804c 100644 --- a/lustre/lov/lov_ea.c +++ b/lustre/lov/lov_ea.c @@ -38,9 +38,6 @@ * Author: Wang Di */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LOV #ifdef __KERNEL__ diff --git a/lustre/lov/lov_log.c b/lustre/lov/lov_log.c index adf5733..3f1dc8d 100644 --- a/lustre/lov/lov_log.c +++ b/lustre/lov/lov_log.c @@ -38,9 +38,6 @@ * Author: Mike Shaver */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LOV #ifdef __KERNEL__ #include diff --git a/lustre/lov/lov_merge.c b/lustre/lov/lov_merge.c index 0a73fbc..4e3eb72 100644 --- a/lustre/lov/lov_merge.c +++ b/lustre/lov/lov_merge.c @@ -32,9 +32,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LOV #ifdef __KERNEL__ diff --git a/lustre/lov/lov_obd.c b/lustre/lov/lov_obd.c index 211e04a..4489ab1 100644 --- a/lustre/lov/lov_obd.c +++ b/lustre/lov/lov_obd.c @@ -41,9 +41,6 @@ * Author: Nathan Rutman */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LOV #ifdef __KERNEL__ #include diff --git a/lustre/lov/lov_offset.c b/lustre/lov/lov_offset.c index a2fa0dc..115dc87 100644 --- a/lustre/lov/lov_offset.c +++ b/lustre/lov/lov_offset.c @@ -32,9 +32,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LOV #ifdef __KERNEL__ diff --git a/lustre/lov/lov_qos.c b/lustre/lov/lov_qos.c index 880ca0a..527620a 100644 --- a/lustre/lov/lov_qos.c +++ b/lustre/lov/lov_qos.c @@ -34,9 +34,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LOV #ifdef __KERNEL__ diff --git a/lustre/lov/lov_request.c b/lustre/lov/lov_request.c index c7293e5..672eca2 100644 --- a/lustre/lov/lov_request.c +++ b/lustre/lov/lov_request.c @@ -34,9 +34,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LOV #ifdef __KERNEL__ diff --git a/lustre/lvfs/fsfilt.c b/lustre/lvfs/fsfilt.c index a915131..1170bf5 100644 --- a/lustre/lvfs/fsfilt.c +++ b/lustre/lvfs/fsfilt.c @@ -32,9 +32,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_FILTER #include diff --git a/lustre/lvfs/lustre_quota_fmt.c b/lustre/lvfs/lustre_quota_fmt.c index 6201f6b..d7fafaa 100644 --- a/lustre/lvfs/lustre_quota_fmt.c +++ b/lustre/lvfs/lustre_quota_fmt.c @@ -37,10 +37,6 @@ * from linux/fs/quota_v2.c */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #include #include #include diff --git a/lustre/lvfs/lvfs_common.c b/lustre/lvfs/lvfs_common.c index d544a0b..a1f6b26 100644 --- a/lustre/lvfs/lvfs_common.c +++ b/lustre/lvfs/lvfs_common.c @@ -32,10 +32,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_FILTER #include diff --git a/lustre/lvfs/lvfs_linux.c b/lustre/lvfs/lvfs_linux.c index 2048c26..96970539 100644 --- a/lustre/lvfs/lvfs_linux.c +++ b/lustre/lvfs/lvfs_linux.c @@ -38,10 +38,6 @@ * Author: Andreas Dilger */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_FILTER #include diff --git a/lustre/lvfs/quotafmt_test.c b/lustre/lvfs/quotafmt_test.c index 246ec94..a964aa7 100644 --- a/lustre/lvfs/quotafmt_test.c +++ b/lustre/lvfs/quotafmt_test.c @@ -39,10 +39,6 @@ * from the OBD setup function */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #include #include #include diff --git a/lustre/mdc/mdc_locks.c b/lustre/mdc/mdc_locks.c index 1d5f6cc1..d9219e0 100644 --- a/lustre/mdc/mdc_locks.c +++ b/lustre/mdc/mdc_locks.c @@ -34,9 +34,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDC #ifdef __KERNEL__ diff --git a/lustre/mdc/mdc_reint.c b/lustre/mdc/mdc_reint.c index c65ec1d..0ba1512 100644 --- a/lustre/mdc/mdc_reint.c +++ b/lustre/mdc/mdc_reint.c @@ -34,9 +34,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDC #ifdef __KERNEL__ diff --git a/lustre/mdc/mdc_request.c b/lustre/mdc/mdc_request.c index eca791a..a0e392a 100644 --- a/lustre/mdc/mdc_request.c +++ b/lustre/mdc/mdc_request.c @@ -34,9 +34,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDC #ifdef __KERNEL__ diff --git a/lustre/mdd/mdd_device.c b/lustre/mdd/mdd_device.c index f7bdbce..75abe60 100644 --- a/lustre/mdd/mdd_device.c +++ b/lustre/mdd/mdd_device.c @@ -40,9 +40,6 @@ * Author: Wang Di */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/mdd/mdd_dir.c b/lustre/mdd/mdd_dir.c index 0a08826..cf6aa1c 100644 --- a/lustre/mdd/mdd_dir.c +++ b/lustre/mdd/mdd_dir.c @@ -40,9 +40,6 @@ * Author: Wang Di */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/mdd/mdd_lock.c b/lustre/mdd/mdd_lock.c index 978eea3..1fdbd8b 100644 --- a/lustre/mdd/mdd_lock.c +++ b/lustre/mdd/mdd_lock.c @@ -38,9 +38,6 @@ * Author: Mike Pershin */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/mdd/mdd_lov.c b/lustre/mdd/mdd_lov.c index 0c8884a..1b874b5 100644 --- a/lustre/mdd/mdd_lov.c +++ b/lustre/mdd/mdd_lov.c @@ -41,9 +41,6 @@ * Author: wangdi */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/mdd/mdd_lproc.c b/lustre/mdd/mdd_lproc.c index 5b8f488..e3cd4ee 100644 --- a/lustre/mdd/mdd_lproc.c +++ b/lustre/mdd/mdd_lproc.c @@ -38,9 +38,6 @@ * Author: Wang Di */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/mdd/mdd_object.c b/lustre/mdd/mdd_object.c index cb86461..27c6874 100644 --- a/lustre/mdd/mdd_object.c +++ b/lustre/mdd/mdd_object.c @@ -40,9 +40,6 @@ * Author: Wang Di */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/mdd/mdd_orphans.c b/lustre/mdd/mdd_orphans.c index 5546ba8..963493d 100644 --- a/lustre/mdd/mdd_orphans.c +++ b/lustre/mdd/mdd_orphans.c @@ -41,9 +41,6 @@ * Pravin B Shelar */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/mdd/mdd_permission.c b/lustre/mdd/mdd_permission.c index 7d4fa6d..cd75861 100644 --- a/lustre/mdd/mdd_permission.c +++ b/lustre/mdd/mdd_permission.c @@ -38,9 +38,7 @@ * Author: fangyong@clusterfs.com * Author: lsy@clusterfs.com */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif + #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/mdd/mdd_trans.c b/lustre/mdd/mdd_trans.c index c7f78ee..f5258c5 100644 --- a/lustre/mdd/mdd_trans.c +++ b/lustre/mdd/mdd_trans.c @@ -40,9 +40,6 @@ * Author: Wang Di */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/mdt/mdt_capa.c b/lustre/mdt/mdt_capa.c index 73d38dc..07678b6 100644 --- a/lustre/mdt/mdt_capa.c +++ b/lustre/mdt/mdt_capa.c @@ -40,9 +40,6 @@ * Author: Lai Siyao */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include "mdt_internal.h" diff --git a/lustre/mdt/mdt_fs.c b/lustre/mdt/mdt_fs.c index dc582b6..a60c821 100644 --- a/lustre/mdt/mdt_fs.c +++ b/lustre/mdt/mdt_fs.c @@ -37,9 +37,7 @@ * * Lustre Metadata Server (MDS) filesystem interface code */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif + #define DEBUG_SUBSYSTEM S_MDS #include "mdt_internal.h" diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 9d74ff6..f4297b9 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -46,9 +46,6 @@ * Author: Yury Umanets */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/mdt/mdt_identity.c b/lustre/mdt/mdt_identity.c index 481d057..b245c62 100644 --- a/lustre/mdt/mdt_identity.c +++ b/lustre/mdt/mdt_identity.c @@ -39,9 +39,6 @@ * Author: Fan Yong */ -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #ifndef AUTOCONF_INCLUDED diff --git a/lustre/mdt/mdt_idmap.c b/lustre/mdt/mdt_idmap.c index 315fff1..135151a 100644 --- a/lustre/mdt/mdt_idmap.c +++ b/lustre/mdt/mdt_idmap.c @@ -37,9 +37,6 @@ * Author: Fan Yong */ -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #ifndef AUTOCONF_INCLUDED diff --git a/lustre/mdt/mdt_lib.c b/lustre/mdt/mdt_lib.c index 6b2e0f5..ade0825 100644 --- a/lustre/mdt/mdt_lib.c +++ b/lustre/mdt/mdt_lib.c @@ -46,10 +46,6 @@ * Author: Fan Yong */ - -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include "mdt_internal.h" diff --git a/lustre/mdt/mdt_lproc.c b/lustre/mdt/mdt_lproc.c index 8f77ce9..26d4692 100644 --- a/lustre/mdt/mdt_lproc.c +++ b/lustre/mdt/mdt_lproc.c @@ -39,9 +39,6 @@ * Author: Fan Yong */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/mdt/mdt_open.c b/lustre/mdt/mdt_open.c index 2af48b3..6bebe32 100644 --- a/lustre/mdt/mdt_open.c +++ b/lustre/mdt/mdt_open.c @@ -40,9 +40,6 @@ * Author: Huang Hua */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/mdt/mdt_recovery.c b/lustre/mdt/mdt_recovery.c index b65f73d..43b41d4 100644 --- a/lustre/mdt/mdt_recovery.c +++ b/lustre/mdt/mdt_recovery.c @@ -41,9 +41,6 @@ * Author: Pershin Mike */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include "mdt_internal.h" diff --git a/lustre/mdt/mdt_reint.c b/lustre/mdt/mdt_reint.c index 222487f..eecb266 100644 --- a/lustre/mdt/mdt_reint.c +++ b/lustre/mdt/mdt_reint.c @@ -44,9 +44,6 @@ * Author: Yury Umanets */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include "mdt_internal.h" diff --git a/lustre/mdt/mdt_xattr.c b/lustre/mdt/mdt_xattr.c index 62e2622..7d0ac80 100644 --- a/lustre/mdt/mdt_xattr.c +++ b/lustre/mdt/mdt_xattr.c @@ -43,9 +43,6 @@ * Author: Huang Hua */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/mgc/libmgc.c b/lustre/mgc/libmgc.c index 053921e..42956d8 100644 --- a/lustre/mgc/libmgc.c +++ b/lustre/mgc/libmgc.c @@ -42,9 +42,6 @@ /* Minimal MGC for liblustre: only used to read the config log from the MGS at setup time, no updates. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MGC #include diff --git a/lustre/mgc/mgc_request.c b/lustre/mgc/mgc_request.c index 459f5d3..86df5ee 100644 --- a/lustre/mgc/mgc_request.c +++ b/lustre/mgc/mgc_request.c @@ -38,9 +38,6 @@ * Author: Nathan Rutman */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MGC #define D_MGC D_CONFIG /*|D_WARNING*/ diff --git a/lustre/mgs/mgs_fs.c b/lustre/mgs/mgs_fs.c index 1a4c1f1..c756066 100644 --- a/lustre/mgs/mgs_fs.c +++ b/lustre/mgs/mgs_fs.c @@ -40,9 +40,6 @@ * Author: Nathan Rutman */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MGS #include diff --git a/lustre/mgs/mgs_handler.c b/lustre/mgs/mgs_handler.c index cb587dc..7686390 100644 --- a/lustre/mgs/mgs_handler.c +++ b/lustre/mgs/mgs_handler.c @@ -38,9 +38,6 @@ * Author: Nathan Rutman */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MGS #define D_MGS D_CONFIG diff --git a/lustre/mgs/mgs_llog.c b/lustre/mgs/mgs_llog.c index 04d1326..9e10fd2 100644 --- a/lustre/mgs/mgs_llog.c +++ b/lustre/mgs/mgs_llog.c @@ -40,9 +40,6 @@ * Author: Nathan Rutman */ -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MGS #define D_MGS D_CONFIG diff --git a/lustre/mgs/mgs_nids.c b/lustre/mgs/mgs_nids.c index e86115f..794ee9e 100644 --- a/lustre/mgs/mgs_nids.c +++ b/lustre/mgs/mgs_nids.c @@ -40,9 +40,6 @@ * Author: Jinshan Xiong */ -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MGS #define D_MGS D_CONFIG diff --git a/lustre/obdclass/acl.c b/lustre/obdclass/acl.c index 7419a3f..b48acf8 100644 --- a/lustre/obdclass/acl.c +++ b/lustre/obdclass/acl.c @@ -38,10 +38,6 @@ * Author: Fan Yong */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_SEC #include diff --git a/lustre/obdclass/capa.c b/lustre/obdclass/capa.c index c0431b3..539910c 100644 --- a/lustre/obdclass/capa.c +++ b/lustre/obdclass/capa.c @@ -38,10 +38,6 @@ * Author: Lai Siyao */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_SEC #ifdef __KERNEL__ diff --git a/lustre/obdclass/cl_io.c b/lustre/obdclass/cl_io.c index a2f029c..d90be9c 100644 --- a/lustre/obdclass/cl_io.c +++ b/lustre/obdclass/cl_io.c @@ -39,9 +39,6 @@ */ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #include #include diff --git a/lustre/obdclass/cl_lock.c b/lustre/obdclass/cl_lock.c index d3a0bbd..2dba495 100644 --- a/lustre/obdclass/cl_lock.c +++ b/lustre/obdclass/cl_lock.c @@ -39,9 +39,6 @@ */ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #include #include diff --git a/lustre/obdclass/cl_object.c b/lustre/obdclass/cl_object.c index 83f65d0..1912d70 100644 --- a/lustre/obdclass/cl_object.c +++ b/lustre/obdclass/cl_object.c @@ -50,9 +50,6 @@ */ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #include /* class_put_type() */ diff --git a/lustre/obdclass/cl_page.c b/lustre/obdclass/cl_page.c index b60943f..c283b9a 100644 --- a/lustre/obdclass/cl_page.c +++ b/lustre/obdclass/cl_page.c @@ -39,9 +39,6 @@ */ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #include #include diff --git a/lustre/obdclass/class_obd.c b/lustre/obdclass/class_obd.c index f075104..e6b2ff2 100644 --- a/lustre/obdclass/class_obd.c +++ b/lustre/obdclass/class_obd.c @@ -35,9 +35,6 @@ */ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #ifndef __KERNEL__ # include #else diff --git a/lustre/obdclass/darwin/darwin-module.c b/lustre/obdclass/darwin/darwin-module.c index 513b441..98ece77 100644 --- a/lustre/obdclass/darwin/darwin-module.c +++ b/lustre/obdclass/darwin/darwin-module.c @@ -35,9 +35,6 @@ */ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #include #include diff --git a/lustre/obdclass/debug.c b/lustre/obdclass/debug.c index feba41e..bb9ec06 100644 --- a/lustre/obdclass/debug.c +++ b/lustre/obdclass/debug.c @@ -40,9 +40,6 @@ #define DEBUG_SUBSYSTEM D_OTHER -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #ifndef __KERNEL__ # include #endif diff --git a/lustre/obdclass/dt_object.c b/lustre/obdclass/dt_object.c index 8765541..737ae03 100644 --- a/lustre/obdclass/dt_object.c +++ b/lustre/obdclass/dt_object.c @@ -42,9 +42,6 @@ */ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #include #include diff --git a/lustre/obdclass/idmap.c b/lustre/obdclass/idmap.c index 24e5de9..3e36f46 100644 --- a/lustre/obdclass/idmap.c +++ b/lustre/obdclass/idmap.c @@ -38,10 +38,6 @@ * Author: Fan Yong */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_SEC #include diff --git a/lustre/obdclass/linux/linux-module.c b/lustre/obdclass/linux/linux-module.c index 577dff4..a0f2761 100644 --- a/lustre/obdclass/linux/linux-module.c +++ b/lustre/obdclass/linux/linux-module.c @@ -41,9 +41,6 @@ */ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #ifdef __KERNEL__ #ifndef AUTOCONF_INCLUDED diff --git a/lustre/obdclass/linux/linux-obdo.c b/lustre/obdclass/linux/linux-obdo.c index fba728d..3ca31f4 100644 --- a/lustre/obdclass/linux/linux-obdo.c +++ b/lustre/obdclass/linux/linux-obdo.c @@ -39,9 +39,6 @@ */ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #ifndef __KERNEL__ #include diff --git a/lustre/obdclass/llog.c b/lustre/obdclass/llog.c index fec344f..f08d54b 100644 --- a/lustre/obdclass/llog.c +++ b/lustre/obdclass/llog.c @@ -43,10 +43,6 @@ #define DEBUG_SUBSYSTEM S_LOG -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif - #ifndef __KERNEL__ #include #endif diff --git a/lustre/obdclass/llog_cat.c b/lustre/obdclass/llog_cat.c index 69c1dfb..9ba6eb2 100644 --- a/lustre/obdclass/llog_cat.c +++ b/lustre/obdclass/llog_cat.c @@ -44,10 +44,6 @@ #define DEBUG_SUBSYSTEM S_LOG -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif - #ifndef __KERNEL__ #include #endif diff --git a/lustre/obdclass/llog_ioctl.c b/lustre/obdclass/llog_ioctl.c index 97e801e..a78c9da 100644 --- a/lustre/obdclass/llog_ioctl.c +++ b/lustre/obdclass/llog_ioctl.c @@ -36,10 +36,6 @@ #define DEBUG_SUBSYSTEM S_LOG -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif - #include #include #include diff --git a/lustre/obdclass/llog_lvfs.c b/lustre/obdclass/llog_lvfs.c index 53bbb4a..6075724 100644 --- a/lustre/obdclass/llog_lvfs.c +++ b/lustre/obdclass/llog_lvfs.c @@ -43,10 +43,6 @@ #define DEBUG_SUBSYSTEM S_LOG -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif - #ifndef __KERNEL__ #include #endif diff --git a/lustre/obdclass/llog_obd.c b/lustre/obdclass/llog_obd.c index 2701c0e..221fccc 100644 --- a/lustre/obdclass/llog_obd.c +++ b/lustre/obdclass/llog_obd.c @@ -36,10 +36,6 @@ #define DEBUG_SUBSYSTEM S_LOG -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif - #ifndef __KERNEL__ #include #endif diff --git a/lustre/obdclass/llog_test.c b/lustre/obdclass/llog_test.c index c8f7681..00678c2 100644 --- a/lustre/obdclass/llog_test.c +++ b/lustre/obdclass/llog_test.c @@ -36,9 +36,6 @@ * Author: Phil Schwan */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_CLASS #include diff --git a/lustre/obdclass/lprocfs_status.c b/lustre/obdclass/lprocfs_status.c index 2055833..d3816a9 100644 --- a/lustre/obdclass/lprocfs_status.c +++ b/lustre/obdclass/lprocfs_status.c @@ -38,9 +38,6 @@ * Author: Hariharan Thantry */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_CLASS #ifndef __KERNEL__ diff --git a/lustre/obdclass/lu_object.c b/lustre/obdclass/lu_object.c index ca6e73d..fe1d9fc 100644 --- a/lustre/obdclass/lu_object.c +++ b/lustre/obdclass/lu_object.c @@ -43,9 +43,6 @@ */ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #include diff --git a/lustre/obdclass/lu_ref.c b/lustre/obdclass/lu_ref.c index 3b9011e..84afc67 100644 --- a/lustre/obdclass/lu_ref.c +++ b/lustre/obdclass/lu_ref.c @@ -39,9 +39,6 @@ */ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #ifdef __KERNEL__ # include diff --git a/lustre/obdclass/lu_time.c b/lustre/obdclass/lu_time.c index e3c3b86..8b1310a 100644 --- a/lustre/obdclass/lu_time.c +++ b/lustre/obdclass/lu_time.c @@ -41,9 +41,6 @@ */ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #include /* OBD_{ALLOC,FREE}_PTR() */ diff --git a/lustre/obdclass/md_local_object.c b/lustre/obdclass/md_local_object.c index 215d8be..77c9ce8 100644 --- a/lustre/obdclass/md_local_object.c +++ b/lustre/obdclass/md_local_object.c @@ -41,9 +41,6 @@ */ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #include #include diff --git a/lustre/obdclass/obdo.c b/lustre/obdclass/obdo.c index 7e62691..e9c0b6c 100644 --- a/lustre/obdclass/obdo.c +++ b/lustre/obdclass/obdo.c @@ -41,9 +41,6 @@ */ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #ifndef __KERNEL__ #include "../liblustre/llite_lib.h" diff --git a/lustre/obdclass/statfs_pack.c b/lustre/obdclass/statfs_pack.c index 9af426c..eb3ed10 100644 --- a/lustre/obdclass/statfs_pack.c +++ b/lustre/obdclass/statfs_pack.c @@ -40,9 +40,6 @@ #define DEBUG_SUBSYSTEM S_CLASS -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #ifndef __KERNEL__ #include #endif diff --git a/lustre/obdecho/echo.c b/lustre/obdecho/echo.c index 17a3f6f..bca3d91f 100644 --- a/lustre/obdecho/echo.c +++ b/lustre/obdecho/echo.c @@ -39,10 +39,6 @@ * Author: Andreas Dilger */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_ECHO #include diff --git a/lustre/osc/osc_create.c b/lustre/osc/osc_create.c index 9ffb196..f62b112 100644 --- a/lustre/osc/osc_create.c +++ b/lustre/osc/osc_create.c @@ -42,9 +42,6 @@ * Author: Peter Braam */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_OSC #ifdef __KERNEL__ diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index f1bb130..0c4084d 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -34,9 +34,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_OSC #include diff --git a/lustre/osd-ldiskfs/osd_handler.c b/lustre/osd-ldiskfs/osd_handler.c index 827621b..057e062 100644 --- a/lustre/osd-ldiskfs/osd_handler.c +++ b/lustre/osd-ldiskfs/osd_handler.c @@ -41,9 +41,6 @@ * Pravin Shelar : Added fid in dirent */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/osd-ldiskfs/osd_igif.c b/lustre/osd-ldiskfs/osd_igif.c index 691b4b9..8df57ab 100644 --- a/lustre/osd-ldiskfs/osd_igif.c +++ b/lustre/osd-ldiskfs/osd_igif.c @@ -38,9 +38,6 @@ * Author: Nikita Danilov */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/osd-ldiskfs/osd_oi.c b/lustre/osd-ldiskfs/osd_oi.c index 3e3279a..587a8dc 100644 --- a/lustre/osd-ldiskfs/osd_oi.c +++ b/lustre/osd-ldiskfs/osd_oi.c @@ -49,9 +49,6 @@ * */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include diff --git a/lustre/ost/ost_handler.c b/lustre/ost/ost_handler.c index 30cbf17..03b5303 100644 --- a/lustre/ost/ost_handler.c +++ b/lustre/ost/ost_handler.c @@ -39,9 +39,6 @@ * Author: Phil Schwan */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_OST #include diff --git a/lustre/ptlrpc/gss/gss_bulk.c b/lustre/ptlrpc/gss/gss_bulk.c index a8b4616..1e7596f 100644 --- a/lustre/ptlrpc/gss/gss_bulk.c +++ b/lustre/ptlrpc/gss/gss_bulk.c @@ -36,9 +36,6 @@ * Author: Eric Mei */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #ifdef __KERNEL__ #include diff --git a/lustre/ptlrpc/gss/gss_cli_upcall.c b/lustre/ptlrpc/gss/gss_cli_upcall.c index 2beac37..8407314 100644 --- a/lustre/ptlrpc/gss/gss_cli_upcall.c +++ b/lustre/ptlrpc/gss/gss_cli_upcall.c @@ -38,9 +38,6 @@ * Author: Eric Mei */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #ifdef __KERNEL__ #include diff --git a/lustre/ptlrpc/gss/gss_generic_token.c b/lustre/ptlrpc/gss/gss_generic_token.c index 81c662e..c58db37 100644 --- a/lustre/ptlrpc/gss/gss_generic_token.c +++ b/lustre/ptlrpc/gss/gss_generic_token.c @@ -41,9 +41,6 @@ * PERFORMANCE OF THIS SOFTWARE. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #ifdef __KERNEL__ #include diff --git a/lustre/ptlrpc/gss/gss_keyring.c b/lustre/ptlrpc/gss/gss_keyring.c index c90ff98..932d814 100644 --- a/lustre/ptlrpc/gss/gss_keyring.c +++ b/lustre/ptlrpc/gss/gss_keyring.c @@ -36,9 +36,6 @@ * Author: Eric Mei */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #ifdef __KERNEL__ #include diff --git a/lustre/ptlrpc/gss/gss_krb5_mech.c b/lustre/ptlrpc/gss/gss_krb5_mech.c index 3a11059..b11b267 100644 --- a/lustre/ptlrpc/gss/gss_krb5_mech.c +++ b/lustre/ptlrpc/gss/gss_krb5_mech.c @@ -48,9 +48,6 @@ * */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #ifdef __KERNEL__ #include diff --git a/lustre/ptlrpc/gss/gss_mech_switch.c b/lustre/ptlrpc/gss/gss_mech_switch.c index 4aa45f4..e1b340a 100644 --- a/lustre/ptlrpc/gss/gss_mech_switch.c +++ b/lustre/ptlrpc/gss/gss_mech_switch.c @@ -41,9 +41,6 @@ * */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #ifdef __KERNEL__ #include diff --git a/lustre/ptlrpc/gss/gss_pipefs.c b/lustre/ptlrpc/gss/gss_pipefs.c index aa30de8..9a434be 100644 --- a/lustre/ptlrpc/gss/gss_pipefs.c +++ b/lustre/ptlrpc/gss/gss_pipefs.c @@ -44,9 +44,6 @@ * */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #ifdef __KERNEL__ #include diff --git a/lustre/ptlrpc/gss/gss_rawobj.c b/lustre/ptlrpc/gss/gss_rawobj.c index 8027c9c..d13b461 100644 --- a/lustre/ptlrpc/gss/gss_rawobj.c +++ b/lustre/ptlrpc/gss/gss_rawobj.c @@ -38,9 +38,6 @@ * Author: Eric Mei */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #include diff --git a/lustre/ptlrpc/gss/lproc_gss.c b/lustre/ptlrpc/gss/lproc_gss.c index 342e2fb..974546a 100644 --- a/lustre/ptlrpc/gss/lproc_gss.c +++ b/lustre/ptlrpc/gss/lproc_gss.c @@ -32,9 +32,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #ifdef __KERNEL__ #include diff --git a/lustre/ptlrpc/gss/sec_gss.c b/lustre/ptlrpc/gss/sec_gss.c index d1122d3..a428743 100644 --- a/lustre/ptlrpc/gss/sec_gss.c +++ b/lustre/ptlrpc/gss/sec_gss.c @@ -46,9 +46,6 @@ * */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #ifdef __KERNEL__ #include diff --git a/lustre/ptlrpc/layout.c b/lustre/ptlrpc/layout.c index 84b4042..ed17822 100644 --- a/lustre/ptlrpc/layout.c +++ b/lustre/ptlrpc/layout.c @@ -48,9 +48,6 @@ #if !defined(__REQ_LAYOUT_USER__) -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_RPC #ifdef __KERNEL__ diff --git a/lustre/ptlrpc/llog_client.c b/lustre/ptlrpc/llog_client.c index d8253bb..dffd854 100644 --- a/lustre/ptlrpc/llog_client.c +++ b/lustre/ptlrpc/llog_client.c @@ -42,10 +42,6 @@ #define DEBUG_SUBSYSTEM S_LOG -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif - #ifdef __KERNEL__ #include #else diff --git a/lustre/ptlrpc/llog_net.c b/lustre/ptlrpc/llog_net.c index a91694b..84d3ca6 100644 --- a/lustre/ptlrpc/llog_net.c +++ b/lustre/ptlrpc/llog_net.c @@ -44,10 +44,6 @@ #define DEBUG_SUBSYSTEM S_LOG -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif - #ifdef __KERNEL__ #include #else diff --git a/lustre/ptlrpc/llog_server.c b/lustre/ptlrpc/llog_server.c index 80f67a8..c72d2e1 100644 --- a/lustre/ptlrpc/llog_server.c +++ b/lustre/ptlrpc/llog_server.c @@ -42,10 +42,6 @@ #define DEBUG_SUBSYSTEM S_LOG -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif - #ifndef __KERNEL__ #include #endif diff --git a/lustre/ptlrpc/ptlrpc_module.c b/lustre/ptlrpc/ptlrpc_module.c index 647e7fc..62b5066 100644 --- a/lustre/ptlrpc/ptlrpc_module.c +++ b/lustre/ptlrpc/ptlrpc_module.c @@ -34,9 +34,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_RPC #ifndef __KERNEL__ diff --git a/lustre/ptlrpc/recov_thread.c b/lustre/ptlrpc/recov_thread.c index 4d552cf..e1d8eea 100644 --- a/lustre/ptlrpc/recov_thread.c +++ b/lustre/ptlrpc/recov_thread.c @@ -47,10 +47,6 @@ #define DEBUG_SUBSYSTEM S_LOG -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #ifdef __KERNEL__ # include #else diff --git a/lustre/ptlrpc/sec.c b/lustre/ptlrpc/sec.c index 42c87b9..66cf583 100644 --- a/lustre/ptlrpc/sec.c +++ b/lustre/ptlrpc/sec.c @@ -38,9 +38,6 @@ * Author: Eric Mei */ -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #include diff --git a/lustre/ptlrpc/sec_bulk.c b/lustre/ptlrpc/sec_bulk.c index 46674ca..9452e04 100644 --- a/lustre/ptlrpc/sec_bulk.c +++ b/lustre/ptlrpc/sec_bulk.c @@ -38,9 +38,6 @@ * Author: Eric Mei */ -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #include diff --git a/lustre/ptlrpc/sec_config.c b/lustre/ptlrpc/sec_config.c index 89fe209..a038fec 100644 --- a/lustre/ptlrpc/sec_config.c +++ b/lustre/ptlrpc/sec_config.c @@ -34,9 +34,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #include diff --git a/lustre/ptlrpc/sec_gc.c b/lustre/ptlrpc/sec_gc.c index 5aea9a6..a1649d2 100644 --- a/lustre/ptlrpc/sec_gc.c +++ b/lustre/ptlrpc/sec_gc.c @@ -38,9 +38,6 @@ * Author: Eric Mei */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #ifndef __KERNEL__ diff --git a/lustre/ptlrpc/sec_lproc.c b/lustre/ptlrpc/sec_lproc.c index feead88..2add995 100644 --- a/lustre/ptlrpc/sec_lproc.c +++ b/lustre/ptlrpc/sec_lproc.c @@ -36,9 +36,6 @@ * Author: Eric Mei */ -#ifndef EXPORT_SYMTAB -#define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #include diff --git a/lustre/ptlrpc/sec_null.c b/lustre/ptlrpc/sec_null.c index c8d6eae..1cb79e3 100644 --- a/lustre/ptlrpc/sec_null.c +++ b/lustre/ptlrpc/sec_null.c @@ -38,9 +38,6 @@ * Author: Eric Mei */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #ifndef __KERNEL__ diff --git a/lustre/ptlrpc/sec_plain.c b/lustre/ptlrpc/sec_plain.c index ec9514d..d123e30 100644 --- a/lustre/ptlrpc/sec_plain.c +++ b/lustre/ptlrpc/sec_plain.c @@ -38,9 +38,6 @@ * Author: Eric Mei */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_SEC #ifndef __KERNEL__ diff --git a/lustre/quota/quota_adjust_qunit.c b/lustre/quota/quota_adjust_qunit.c index 05d2a95..d1426f7 100644 --- a/lustre/quota/quota_adjust_qunit.c +++ b/lustre/quota/quota_adjust_qunit.c @@ -33,9 +33,7 @@ * This file is part of Lustre, http://www.lustre.org/ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif + #define DEBUG_SUBSYSTEM S_LQUOTA #ifdef __KERNEL__ diff --git a/lustre/quota/quota_check.c b/lustre/quota/quota_check.c index 5bf0047..335eb77 100644 --- a/lustre/quota/quota_check.c +++ b/lustre/quota/quota_check.c @@ -34,10 +34,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ - -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LQUOTA #ifdef __KERNEL__ diff --git a/lustre/quota/quota_context.c b/lustre/quota/quota_context.c index 3989ed9..9e4cac2 100644 --- a/lustre/quota/quota_context.c +++ b/lustre/quota/quota_context.c @@ -40,10 +40,6 @@ * Author: Niu YaWei */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_LQUOTA #include diff --git a/lustre/quota/quota_ctl.c b/lustre/quota/quota_ctl.c index 2ea126e..47f8010 100644 --- a/lustre/quota/quota_ctl.c +++ b/lustre/quota/quota_ctl.c @@ -33,9 +33,7 @@ * This file is part of Lustre, http://www.lustre.org/ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif + #define DEBUG_SUBSYSTEM S_LQUOTA #ifdef __KERNEL__ diff --git a/lustre/quota/quota_interface.c b/lustre/quota/quota_interface.c index c82e280..b14d29e 100644 --- a/lustre/quota/quota_interface.c +++ b/lustre/quota/quota_interface.c @@ -34,9 +34,6 @@ * Lustre is a trademark of Sun Microsystems, Inc. */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_LQUOTA #ifdef __KERNEL__ diff --git a/lustre/quota/quota_master.c b/lustre/quota/quota_master.c index d493a1d..337d984 100644 --- a/lustre/quota/quota_master.c +++ b/lustre/quota/quota_master.c @@ -40,10 +40,6 @@ * Author: Niu YaWei */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif - #define DEBUG_SUBSYSTEM S_LQUOTA #include