Whamcloud - gitweb
LU-10560 libcfs: handle rename to wait_queue_entry_t 53/31153/11
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Fri, 9 Feb 2018 18:22:50 +0000 (13:22 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 22 Feb 2018 05:40:31 +0000 (05:40 +0000)
commit9b7ca14430edf84f8c031b1489b3c0d2fb617535
tree1c4484948cb0d07233136ecce18bf99758400aec
parentf01bed03905d424fab81bee84a7b622f141e4f79
LU-10560 libcfs: handle rename to wait_queue_entry_t

The 4.13 kernel renames wait_queue_t to wait_queue_entry_t.

Add a probe and handle rename across the code base and have
a define to translate to the new name when indicated.

Test-Parameters: trivial

Change-Id: I8f0f5ec4d02ccb270acb72ccffe13f0ecf6bd2f7
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-on: https://review.whamcloud.com/31153
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
19 files changed:
contrib/scripts/spelling.txt
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/linux-misc.h
libcfs/libcfs/debug.c
libcfs/libcfs/tracefile.c
lnet/include/lnet/lib-lnet.h
lnet/klnds/o2iblnd/o2iblnd_cb.c
lnet/klnds/socklnd/socklnd_cb.c
lnet/lnet/lib-eq.c
lnet/lnet/lib-socket.c
lustre/autoconf/lustre-core.m4
lustre/fid/fid_request.c
lustre/include/lustre_lib.h
lustre/llite/lcommon_cl.c
lustre/lov/lov_cl_internal.h
lustre/lov/lov_object.c
lustre/obdclass/upcall_cache.c
lustre/ptlrpc/gss/gss_svc_upcall.c
lustre/ptlrpc/sec_bulk.c