Whamcloud - gitweb
LU-6401 uapi: turn lustre_param.h into a proper UAPI header 25/24325/13
authorJames Simmons <uja.ornl@yahoo.com>
Wed, 3 May 2017 20:00:21 +0000 (16:00 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 20 May 2017 18:45:39 +0000 (18:45 +0000)
commit424e56abd685c5eabc6a276154dec1c031cf5044
tree22c25f184b9931e38a678fa8459242db5be9461f
parent4d15be7ec776b7d868e868d10ba093a76a61a57f
LU-6401 uapi: turn lustre_param.h into a proper UAPI header

Move all the kernel specific function prototypes from
lustre_param.h into obd_config.h which is a kernel only
header. The inline functions lustre_is_*_valid are used
only by user land so we can remove them. Remove the user
land error checking with lustre_is_*_valid() since its
the job of the kernel to validate the date passed in.
The libcfs.h header shouldn't be exposed to user land
so remove it.

Change-Id: I6b6b4fe8f4d6799608c0e74318afecb85168ad54
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/24325
Tested-by: Jenkins
Reviewed-by: Ben Evans <bevans@cray.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
38 files changed:
lustre/include/Makefile.am
lustre/include/lustre_param.h [deleted file]
lustre/include/obd_class.h
lustre/include/uapi/linux/Makefile.am
lustre/include/uapi/linux/lustre_param.h [new file with mode: 0644]
lustre/llite/llite_lib.c
lustre/llite/lproc_llite.c
lustre/lod/lod_dev.c
lustre/lod/lod_object.c
lustre/lod/lod_sub_object.c
lustre/lod/lproc_lod.c
lustre/lov/lov_obd.c
lustre/lov/lproc_lov.c
lustre/mdc/mdc_request.c
lustre/mdd/mdd_device.c
lustre/mdd/mdd_object.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_mds.c
lustre/mgs/lproc_mgs.c
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_llog.c
lustre/obdclass/obd_config.c
lustre/obdclass/obd_mount.c
lustre/obdclass/obd_mount_server.c
lustre/ofd/ofd_dev.c
lustre/osc/osc_request.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-zfs/osd_handler.c
lustre/osp/lwp_dev.c
lustre/osp/osp_dev.c
lustre/ptlrpc/sec_config.c
lustre/quota/qsd_config.c
lustre/utils/lfs.c
lustre/utils/liblustreapi.c
lustre/utils/mkfs_lustre.c
lustre/utils/mount_utils.h
lustre/utils/mount_utils_ldiskfs.c
lustre/utils/obd.c