Whamcloud - gitweb
LU-6401 uapi: fix up lustre_ostid.h and lustre_fid.h 69/24569/7
authorJames Simmons <uja.ornl@yahoo.com>
Sat, 8 Apr 2017 21:38:42 +0000 (17:38 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 1 May 2017 17:48:53 +0000 (17:48 +0000)
commit34acfbc2bfe502d18c12ba35771bde7c4a0f7906
treeef30ffdb6b707f6433413e0e32d26fd8d800751f
parentb8afd0dcd3834a88b0ceead18c71d37052a00a8d
LU-6401 uapi: fix up lustre_ostid.h and lustre_fid.h

Several inline functions in the header lustre_ostid.h
are using debug macros instead of returning proper errors.
Remove the debug macros and properly handle the returned
error codes. Place both UAPI headers lustre_fid.h and
lustre_ostid.h into the uapi directory.

Change-Id: Ic32afd05850b5bf02fb8de655cb1971eeb52a321
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/24569
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Tested-by: Oleg Drokin <oleg.drokin@intel.com>
24 files changed:
lustre/include/lustre/Makefile.am
lustre/include/lustre_fid.h
lustre/include/lustre_log_user.h
lustre/include/uapi/linux/Makefile.am
lustre/include/uapi/linux/lustre_fid.h [moved from lustre/include/lustre/lustre_fid.h with 83% similarity]
lustre/include/uapi/linux/lustre_ostid.h [moved from lustre/include/lustre/lustre_ostid.h with 79% similarity]
lustre/lfsck/lfsck_layout.c
lustre/obdclass/llog_internal.h
lustre/obdclass/llog_ioctl.c
lustre/obdecho/echo.c
lustre/obdecho/echo_client.c
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_fs.c
lustre/ofd/ofd_obd.c
lustre/osc/osc_object.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osp/osp_object.c
lustre/osp/osp_precreate.c
lustre/osp/osp_sync.c
lustre/utils/lhsmtool_posix.c
lustre/utils/liblustreapi.c
lustre/utils/ll_decode_linkea.c
lustre/utils/llog_reader.c
lustre/utils/obd.c