lkml.org 
[lkml]   [2017]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject[PATCH 00/10] staging: lustre: assorted code improvements for list manipulations.
There are mostly conversions of list_for_each() to
list_for_each_entry() and similar. list_first_entry()
also makes a few appearances.

Thanks,
NeilBrown


---

NeilBrown (10):
staging: lustre: use list_last_entry to simplify fld_cache_shrink
staging: lustre: ldlm: use list_for_each_entry in ldlm_extent_shift_kms()
staging: lustre: ldlm: use list_first_entry in ldlm_lock
staging: lustre: ldlm: use list_for_each_entry in ldlm_lock.c
staging: lustre: ldlm: use list_first_entry in ldlm_lockd.c
staging: lustre: ldlm: minor list_entry improvements in ldlm_request.c
staging: lustre: ldlm: use list_for_each_entry in ldlm_resource.c
staging: lustre: lov: use list_for_each_entry in lov_obd.c
staging: lustre: simplfy lov_finish_set()
staging: lustre: obdclass: simplify cl_lock_fini()


drivers/staging/lustre/lustre/fld/fld_cache.c | 13 ++++++-------
drivers/staging/lustre/lustre/ldlm/ldlm_extent.c | 4 +---
drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 18 +++++++-----------
drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c | 10 +++++-----
drivers/staging/lustre/lustre/ldlm/ldlm_request.c | 12 ++++--------
drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 20 +++++++-------------
drivers/staging/lustre/lustre/lov/lov_obd.c | 6 ++----
drivers/staging/lustre/lustre/lov/lov_request.c | 10 ++++------
drivers/staging/lustre/lustre/obdclass/cl_lock.c | 9 ++++-----
9 files changed, 40 insertions(+), 62 deletions(-)

--
Signature

\
 
 \ /
  Last update: 2017-10-30 06:00    [W:0.071 / U:2.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site