Whamcloud - gitweb
LU-6401 uapi: turn lustre_ioctl.h into a proper UAPI header 68/24568/16
authorJames Simmons <uja.ornl@yahoo.com>
Sat, 8 Apr 2017 19:44:32 +0000 (15:44 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 1 May 2017 17:48:08 +0000 (17:48 +0000)
commitb8afd0dcd3834a88b0ceead18c71d37052a00a8d
tree40208957696e746b015efd1f12cd39106f72efea
parentf7815c80d95b20c97317fbd7010013dca009121e
LU-6401 uapi: turn lustre_ioctl.h into a proper UAPI header

Remove all the complex inline functions. Move all the user land
specific functions into the userland library. Unwind the kernel
specific functions and move obd_ioctl_is_valid() into the kernel
source file linux-module.c.

Change-Id: I91e69a21231f3effd23b191b6df9b5515a2ccc64
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/24568
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
35 files changed:
lustre/include/Makefile.am
lustre/include/lustre/lustreapi.h
lustre/include/obd_class.h
lustre/include/uapi/linux/Makefile.am
lustre/include/uapi/linux/lustre_ioctl.h [moved from lustre/include/lustre_ioctl.h with 52% similarity]
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/llite_lib.c
lustre/lmv/lmv_obd.c
lustre/lov/lov_obd.c
lustre/mdc/mdc_request.c
lustre/mdd/mdd_device.c
lustre/mdt/mdt_handler.c
lustre/mgs/mgs_barrier.c
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_llog.c
lustre/obdclass/class_obd.c
lustre/obdclass/linux/linux-module.c
lustre/obdclass/llog_ioctl.c
lustre/obdclass/obd_config.c
lustre/obdclass/obd_mount_server.c
lustre/obdecho/echo_client.c
lustre/ofd/ofd_obd.c
lustre/osc/osc_request.c
lustre/osp/osp_dev.c
lustre/tests/Makefile.am
lustre/tests/mpi/mdsrate.c
lustre/tests/statmany.c
lustre/tests/statone.c
lustre/utils/liblustreapi.c
lustre/utils/lsnapshot.c
lustre/utils/lustre_cfg.c
lustre/utils/lustre_lfsck.c
lustre/utils/lustreapi_internal.h
lustre/utils/obd.c