Whamcloud - gitweb
LU-6245 libcfs: use libcfs_private.h only for kernel space 38/22138/11
authorJames Simmons <uja.ornl@yahoo.com>
Wed, 11 Jan 2017 16:24:35 +0000 (11:24 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 31 Jan 2017 04:07:16 +0000 (04:07 +0000)
commitf431777cf5cbb0f1493e91a35bbc2a26e1d14db9
tree4f349b4a3332acb10ca8db65d6335ff60b7f3f21
parent6a81ffa1e9e44231d812e331c73cfa9df67746ed
LU-6245 libcfs: use libcfs_private.h only for kernel space

The current lustre userland code no longer uses special
macros which are present in libcfs_private.h.
We can then eliminate those macros and only use the
libcfs_private.h header for kernel space. The special
macros no longer needed for userland are:

1) LOGL and LOGU which were used in the UAPI header
   lustre_cfg.h and lustre_ioctl.h.

2) [un]likely macros used in the UAPI header lustre_ostid.h

3) The special libcfs assert macros

Change-Id: Iaa54bdcfb6104d13f2aabae63335e041481244a5
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/22138
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
19 files changed:
libcfs/include/libcfs/libcfs.h
libcfs/include/libcfs/libcfs_private.h
lustre/include/lprocfs_status.h
lustre/include/lustre/lustre_idl.h
lustre/include/lustre/lustre_ostid.h
lustre/include/lustre/lustre_user.h
lustre/include/lustre_cfg.h
lustre/include/lustre_ioctl.h
lustre/ptlrpc/pack_generic.c
lustre/tests/it_test.c
lustre/utils/gss/sk_utils.c
lustre/utils/libiam.c
lustre/utils/liblustreapi.c
lustre/utils/lustre_lfsck.c
lustre/utils/lustre_rsync.c
lustre/utils/mount_lustre.c
lustre/utils/mount_utils.c
lustre/utils/obd.c
lustre/utils/wiretest.c