Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1487539 > unrolled thread

[PATCH v2] staging: lustre: ptlrpc: re-export lustre_swab_lov_mds_md

Started byJames Simmons <jsimmons@infradead.org>
First post2016-09-20 19:40 +0200
Last post2016-09-20 19:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v2] staging: lustre: ptlrpc: re-export lustre_swab_lov_mds_md James Simmons <jsimmons@infradead.org> - 2016-09-20 19:40 +0200

#1487539 — [PATCH v2] staging: lustre: ptlrpc: re-export lustre_swab_lov_mds_md

FromJames Simmons <jsimmons@infradead.org>
Date2016-09-20 19:40 +0200
Subject[PATCH v2] staging: lustre: ptlrpc: re-export lustre_swab_lov_mds_md
Message-ID<sjxbr-61r-13@gated-at.bofh.it>
Being over zealous in removing unused EXPORT_SYMBOLs the function
lustre_swab_lov_mds_md exports were removed. They need to be
exported so this patch restores those EXPORT_SYMBOLS. Same
mistake was done when porting to the upstream client.

v2 Remove exporting lustre_swab_lmv_mds_md since that is not needed
   just yet.

Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: http://review.whamcloud.com/14545
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6486
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
---
 .../staging/lustre/lustre/ptlrpc/pack_generic.c    |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/lustre/lustre/ptlrpc/pack_generic.c b/drivers/staging/lustre/lustre/ptlrpc/pack_generic.c
index 1349bf6..e24d8e1 100644
--- a/drivers/staging/lustre/lustre/ptlrpc/pack_generic.c
+++ b/drivers/staging/lustre/lustre/ptlrpc/pack_generic.c
@@ -1914,6 +1914,7 @@ void lustre_swab_lov_mds_md(struct lov_mds_md *lmm)
 	__swab16s(&lmm->lmm_stripe_count);
 	__swab16s(&lmm->lmm_layout_gen);
 }
+EXPORT_SYMBOL(lustre_swab_lov_mds_md);
 
 void lustre_swab_lov_user_md_objects(struct lov_user_ost_data *lod,
 				     int stripe_count)
-- 
1.7.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web