diff options
author | Ben Evans <bevans@cray.com> | 2016-12-02 14:40:45 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-12-06 10:33:07 +0100 |
commit | 36dc51ccb3e55103621b8821e43088278acdf0c3 (patch) | |
tree | f6ffc8f46bd739102fdd2abd891d59b8dd4a810f /drivers/staging/lustre/lustre/ptlrpc/pack_generic.c | |
parent | 3cea2b2154e1e378110eacef7c3e74b48f6b278e (diff) |
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/ptlrpc/pack_generic.c')
-rw-r--r-- | drivers/staging/lustre/lustre/ptlrpc/pack_generic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lustre/ptlrpc/pack_generic.c b/drivers/staging/lustre/lustre/ptlrpc/pack_generic.c index 17ec3b69a34f..1178caa4c3a9 100644 --- a/drivers/staging/lustre/lustre/ptlrpc/pack_generic.c +++ b/drivers/staging/lustre/lustre/ptlrpc/pack_generic.c @@ -42,9 +42,11 @@ #include "../../include/linux/libcfs/libcfs.h" +#include "../include/llog_swab.h" #include "../include/obd_support.h" #include "../include/obd_class.h" #include "../include/lustre_net.h" +#include "../include/lustre_swab.h" #include "../include/obd_cksum.h" #include "../include/lustre/ll_fiemap.h" |