public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] staging: lustre: assorted code improvements for list manipulations.
@ 2017-10-30  4:59 NeilBrown
  2017-10-30  4:59 ` [PATCH 07/10] staging: lustre: ldlm: use list_for_each_entry in ldlm_resource.c NeilBrown
                   ` (10 more replies)
  0 siblings, 11 replies; 16+ messages in thread
From: NeilBrown @ 2017-10-30  4:59 UTC (permalink / raw)
  To: Oleg Drokin, Andreas Dilger, James Simmons, Greg Kroah-Hartman
  Cc: linux-kernel, lustre-devel

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2017-11-29 11:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-30  4:59 [PATCH 00/10] staging: lustre: assorted code improvements for list manipulations NeilBrown
2017-10-30  4:59 ` [PATCH 07/10] staging: lustre: ldlm: use list_for_each_entry in ldlm_resource.c NeilBrown
2017-10-30  4:59 ` [PATCH 03/10] staging: lustre: ldlm: use list_first_entry in ldlm_lock NeilBrown
2017-10-30  4:59 ` [PATCH 10/10] staging: lustre: obdclass: simplify cl_lock_fini() NeilBrown
2017-10-30  4:59 ` [PATCH 08/10] staging: lustre: lov: use list_for_each_entry in lov_obd.c NeilBrown
2017-11-24 15:43   ` Greg Kroah-Hartman
2017-11-29  3:01     ` NeilBrown
2017-11-29  9:40       ` Greg Kroah-Hartman
2017-11-29 11:37         ` NeilBrown
2017-10-30  4:59 ` [PATCH 02/10] staging: lustre: ldlm: use list_for_each_entry in ldlm_extent_shift_kms() NeilBrown
2017-10-30  4:59 ` [PATCH 09/10] staging: lustre: simplfy lov_finish_set() NeilBrown
2017-10-30  4:59 ` [PATCH 05/10] staging: lustre: ldlm: use list_first_entry in ldlm_lockd.c NeilBrown
2017-10-30  4:59 ` [PATCH 04/10] staging: lustre: ldlm: use list_for_each_entry in ldlm_lock.c NeilBrown
2017-10-30  4:59 ` [PATCH 06/10] staging: lustre: ldlm: minor list_entry improvements in ldlm_request.c NeilBrown
2017-10-30  4:59 ` [PATCH 01/10] staging: lustre: use list_last_entry to simplify fld_cache_shrink NeilBrown
2017-11-24 15:44 ` [PATCH 00/10] staging: lustre: assorted code improvements for list manipulations Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox