staging: lustre: uapi: use proper byteorder functions in lustre_idl.h
authorJames Simmons <jsimmons@infradead.org>
Sun, 20 Aug 2017 02:26:37 +0000 (22:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2017 01:36:50 +0000 (18:36 -0700)
commitaec63d7ab82e870e37b72454e683e610aff2fd2e
treea256edd94a90b9eb3813766af79d09824a7f410b
parent72c5290bf90b9e56145719cd1a31c101438ee9be
staging: lustre: uapi: use proper byteorder functions in lustre_idl.h

In order for lustre_idl.h to be usable for both user
land and kernel space it has to use the proper
byteorder functions.

Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6245
Reviewed-on: http://review.whamcloud.com/16916
Reviewed-by: Frank Zago <fzago@cray.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/uapi/linux/lustre/lustre_idl.h