staging: lustre: misc: remove unnecessary EXPORT_SYMBOL
authorfrank zago <fzago@cray.com>
Sun, 18 Sep 2016 20:38:48 +0000 (16:38 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Sep 2016 08:03:41 +0000 (10:03 +0200)
A lot of symbols don't need to be exported at all because they are
only used in the module they belong to.

Signed-off-by: frank zago <fzago@cray.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5829
Reviewed-on: http://review.whamcloud.com/13321
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/fid/fid_lib.c
drivers/staging/lustre/lustre/fld/fld_request.c
drivers/staging/lustre/lustre/lmv/lmv_obd.c
drivers/staging/lustre/lustre/lov/lov_dev.c

index 99ae7eb6720e16c535a491cec765db2b32bab281..4e49cb356d64f4d50506157995babb64a70ad45d 100644 (file)
@@ -63,14 +63,12 @@ const struct lu_seq_range LUSTRE_SEQ_SPACE_RANGE = {
        FID_SEQ_NORMAL,
        (__u64)~0ULL
 };
-EXPORT_SYMBOL(LUSTRE_SEQ_SPACE_RANGE);
 
 /* Zero range, used for init and other purposes. */
 const struct lu_seq_range LUSTRE_SEQ_ZERO_RANGE = {
        0,
        0
 };
-EXPORT_SYMBOL(LUSTRE_SEQ_ZERO_RANGE);
 
 /* Lustre Big Fs Lock fid. */
 const struct lu_fid LUSTRE_BFL_FID = { .f_seq = FID_SEQ_SPECIAL,
index ed7962e4f0794100063a9026f02b8c33cca69f2b..0de72b717ce5c912ae3a243d7938a79fd60c1c63 100644 (file)
@@ -219,7 +219,6 @@ int fld_client_del_target(struct lu_client_fld *fld, __u64 idx)
        spin_unlock(&fld->lcf_lock);
        return -ENOENT;
 }
-EXPORT_SYMBOL(fld_client_del_target);
 
 static struct dentry *fld_debugfs_dir;
 
@@ -454,7 +453,6 @@ void fld_client_flush(struct lu_client_fld *fld)
 {
        fld_cache_flush(fld->lcf_cache);
 }
-EXPORT_SYMBOL(fld_client_flush);
 
 static int __init fld_init(void)
 {
index 9a53b0aa0dbc39a7dddf5d95502bb2682ae44f04..7c24da3ffe7cb9293b4edd651e9ea67c57d3434d 100644 (file)
@@ -2802,7 +2802,6 @@ lmv_pack_md(union lmv_mds_md **lmmp, const struct lmv_stripe_md *lsm,
 
        return lmm_size;
 }
-EXPORT_SYMBOL(lmv_pack_md);
 
 static int lmv_unpack_md_v1(struct obd_export *exp, struct lmv_stripe_md *lsm,
                            const struct lmv_mds_md_v1 *lmm1)
index b1f260d43bc7587619a1efdcac81abc0f2859a12..056ae2ed88e8ccc562066916d3d1a5bdcf4b6319 100644 (file)
@@ -516,6 +516,5 @@ struct lu_device_type lov_device_type = {
        .ldt_ops      = &lov_device_type_ops,
        .ldt_ctx_tags = LCT_CL_THREAD
 };
-EXPORT_SYMBOL(lov_device_type);
 
 /** @} lov */