[PATCH 0/5] Use list_for_each_entry_safe

From: simran singhal
Date: Sun Mar 05 2017 - 12:14:10 EST


This patch-series replaces the while loop containing list_empty and
list_entry with list_for_each_entry_safe.

simran singhal (5):
staging: lustre: Use list_for_each_entry_safe
staging: lustre: ptlrpc: Use list_for_each_entry_safe
staging: lustre: osc: Use list_for_each_entry_safe
staging: lustre: llite: Use list_for_each_entry_safe
staging: lustre: osc_page.c: Use list_for_each_entry_safe

drivers/staging/lustre/lustre/llite/statahead.c | 5 ++---
drivers/staging/lustre/lustre/osc/osc_cache.c | 5 ++---
drivers/staging/lustre/lustre/osc/osc_page.c | 11 ++++-------
drivers/staging/lustre/lustre/ptlrpc/sec_gc.c | 5 ++---
drivers/staging/lustre/lustre/ptlrpc/service.c | 5 ++---
5 files changed, 12 insertions(+), 19 deletions(-)

--
2.7.4