staging: lustre: uapi: use __ALIGN_KERNEL for lustre_ioctl.h
authorJames Simmons <jsimmons@infradead.org>
Sun, 20 Aug 2017 02:26:07 +0000 (22:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2017 01:36:48 +0000 (18:36 -0700)
commit30bfc47885a486ee5ce5fc6adefac9b06ed704d7
tree64fb04c10479f868a40c7dbbfff4f60a9c04e0b7
parent325da9674b3c5eb9e4304bcb22fb07981515bbb1
staging: lustre: uapi: use __ALIGN_KERNEL for lustre_ioctl.h

Replace cfs_size_round() standard __ALIGN_KERNEL macro. This
removes the dependency of libcfs.h which is a kernel only
header.

Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6401
Reviewed-on: https://review.whamcloud.com/24568
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Ben Evans <bevans@cray.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/include/uapi/linux/lustre/lustre_ioctl.h