Whamcloud - gitweb
LU-6245 libcfs: cleanup up libcfs hash code for upstream 24/14624/10
authorJames Simmons <uja.ornl@yahoo.com>
Thu, 28 May 2015 14:55:05 +0000 (10:55 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 10 Jun 2015 02:51:29 +0000 (02:51 +0000)
commitd8278c699434fd7975609e121a1a75820595a601
tree7f84003d86e600e59762f60b5082a696f4e9aac8
parent8d2fd0a18133484fd84456f1626b3af2a53dfa8c
LU-6245 libcfs: cleanup up libcfs hash code for upstream

This patch brings the libcfs hash handling up to linux
kernel coding style. Various typedefs and macros have
been removed. Also support for the change of in 3.18
kernels of hlist_add_behind are also handled.

Change-Id: If50e34cfe4aaa593f755c9214f350ce21da56f20
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: http://review.whamcloud.com/14624
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: frank zago <fzago@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
44 files changed:
contrib/scripts/checkpatch.pl
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/libcfs_hash.h
libcfs/include/libcfs/list.h
libcfs/libcfs/hash.c
lustre/include/lprocfs_status.h
lustre/include/lu_object.h
lustre/include/lustre_dlm.h
lustre/include/lustre_export.h
lustre/include/lustre_nodemap.h
lustre/include/lustre_nrs_crr.h
lustre/include/lustre_nrs_orr.h
lustre/include/lustre_nrs_tbf.h
lustre/include/obd.h
lustre/ldlm/ldlm_flock.c
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c
lustre/ldlm/ldlm_resource.c
lustre/llite/vvp_dev.c
lustre/lod/lod_internal.h
lustre/lod/lod_pool.c
lustre/lov/lov_internal.h
lustre/lov/lov_pool.c
lustre/mdt/mdt_lproc.c
lustre/obdclass/cl_object.c
lustre/obdclass/genops.c
lustre/obdclass/lprocfs_jobstats.c
lustre/obdclass/lprocfs_status_server.c
lustre/obdclass/lu_object.c
lustre/obdclass/obd_config.c
lustre/osc/osc_quota.c
lustre/ptlrpc/connection.c
lustre/ptlrpc/nodemap_handler.c
lustre/ptlrpc/nodemap_lproc.c
lustre/ptlrpc/nodemap_member.c
lustre/ptlrpc/nrs_crr.c
lustre/ptlrpc/nrs_orr.c
lustre/ptlrpc/nrs_tbf.c
lustre/quota/lquota_entry.c
lustre/quota/lquota_internal.h
lustre/quota/qmt_internal.h
lustre/quota/qmt_pool.c
lustre/quota/qsd_reint.c