Whamcloud - gitweb
LU-9859 libcfs: handle missing refcount.h 90/38390/3
authorJames Simmons <jsimmons@infradead.org>
Wed, 29 Apr 2020 12:32:39 +0000 (08:32 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 7 May 2020 05:43:11 +0000 (05:43 +0000)
commit6e1c48c4b7224f28b2aebcb372dc1156f09268f6
tree7a9b73025fa33c0289968b7ca8ab15b4400fe7bb
parent423ad8144697363f270bee1c3a67cd80a6b20f9a
LU-9859 libcfs: handle missing refcount.h

Recently the OpenSFS tree was modified to make backported headers to
appear like native Linux kernel headers to avoid ifdef handling. One
missed is refcount.h. Rename linux-refcount.h to refcount.h to make
it look like the native kernel version. Change EXTRA_KCFLAGS to not
include the Lustre include directories since it contains the fake
kernel headers in the autoconf test. Also remove stray
LC_REPLACE_EXCEPTIONAL_ENTRIES.

Change-Id: Ia5de6dab0837db419a6b02b3b2a6ddeb6bb62f03
Test-Parameters: trivial
Fixes: 742897a967cf ("LU-13274 uapi: make lnet UAPI headers C99 compliant")
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/38390
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/Makefile.am
libcfs/include/libcfs/linux/refcount.h [moved from libcfs/include/libcfs/linux/linux-refcount.h with 100% similarity]
lustre/autoconf/lustre-core.m4