summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/mdc/mdc_request.c
diff options
context:
space:
mode:
authorBen Evans <bevans@cray.com>2016-12-02 14:40:45 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-12-06 10:33:07 +0100
commit36dc51ccb3e55103621b8821e43088278acdf0c3 (patch)
treef6ffc8f46bd739102fdd2abd891d59b8dd4a810f /drivers/staging/lustre/lustre/mdc/mdc_request.c
parent3cea2b2154e1e378110eacef7c3e74b48f6b278e (diff)
downloadop-kernel-dev-36dc51ccb3e55103621b8821e43088278acdf0c3.zip
op-kernel-dev-36dc51ccb3e55103621b8821e43088278acdf0c3.tar.gz
staging: lustre: headers: move swab functions to new header files
Create headers for pack_generic.c and llog_swab.c Reference only where needed. This separates out the kernel only code from lustre_idl.h that is an UAPI header. Signed-off-by: Ben Evans <bevans@cray.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6401 Reviewed-on: http://review.whamcloud.com/16339 Reviewed-by: John L. Hammond <john.hammond@intel.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Reviewed-by: James Simmons <uja.ornl@yahoo.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>
Diffstat (limited to 'drivers/staging/lustre/lustre/mdc/mdc_request.c')
-rw-r--r--drivers/staging/lustre/lustre/mdc/mdc_request.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lustre/mdc/mdc_request.c b/drivers/staging/lustre/lustre/mdc/mdc_request.c
index f9755dd..087c2cf 100644
--- a/drivers/staging/lustre/lustre/mdc/mdc_request.c
+++ b/drivers/staging/lustre/lustre/mdc/mdc_request.c
@@ -38,6 +38,7 @@
# include <linux/init.h>
# include <linux/utsname.h>
+#include "../include/llog_swab.h"
#include "../include/lustre_acl.h"
#include "../include/lustre/lustre_ioctl.h"
#include "../include/obd_class.h"
@@ -47,6 +48,7 @@
#include "../include/lustre_param.h"
#include "../include/lustre_log.h"
#include "../include/lustre_kernelcomm.h"
+#include "../include/lustre_swab.h"
#include "mdc_internal.h"
OpenPOWER on IntegriCloud