Whamcloud - gitweb
LU-3963 libcfs: remove invalid cfs_hlist_for_each_* checks 05/11005/9
authorJames Simmons <uja.ornl@gmail.com>
Fri, 15 Aug 2014 16:32:35 +0000 (12:32 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 25 Aug 2014 16:58:21 +0000 (16:58 +0000)
commitc5fa6f85b6bceef574a52752eefc4847d1b571f5
tree87ff6286bbd2addc29307237749d3dd206b224eb
parent467af42519fc3b1d9ab82baeaa80cb7ce8e02d31
LU-3963 libcfs: remove invalid cfs_hlist_for_each_* checks

For newer kernels cfs_hlist_for_each_entry* changed the
number of arguments so in this case lustre still needs
wrappers. The HPDD script to test decrepit wrappers
incorrectly complains about cfs_hlist_for_* functions
that are required. Added some more wrappers to deal with
kernel api change that were missing before.

Change-Id: Idda94c147f2e3e9c138ee50c242604494041c244
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Reviewed-on: http://review.whamcloud.com/11005
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: frank zago <fzago@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
contrib/scripts/checkpatch.pl
libcfs/include/libcfs/list.h
lustre/llite/remote_perm.c
lustre/obdclass/capa.c
lustre/ptlrpc/gss/gss_keyring.c
lustre/ptlrpc/gss/gss_pipefs.c