From 219c5190a3ad316970cdca6392d29fc4a2d45634 Mon Sep 17 00:00:00 2001 From: Shaun Tancheff Date: Fri, 6 Sep 2019 12:25:57 -0500 Subject: [PATCH] LU-12635 lnet: Fix deceptive indenting on for_each This patch fixes some deceptive indentation not reported by checkpatch introduced by the previous cleanup Test-Parameters: trivial Cray-bug-id: LUS-7690 Signed-off-by: Shaun Tancheff Change-Id: I568637c508c2c5fcb84810e8e6deae2fb082e069 Reviewed-on: https://review.whamcloud.com/36086 Reviewed-by: Patrick Farrell Reviewed-by: Petros Koutoupis Tested-by: jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- lnet/selftest/rpc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lnet/selftest/rpc.c b/lnet/selftest/rpc.c index 84ee109..1ca15dc 100644 --- a/lnet/selftest/rpc.c +++ b/lnet/selftest/rpc.c @@ -760,19 +760,19 @@ srpc_shutdown_service(struct srpc_service *sv) sv->sv_id, sv->sv_name); cfs_percpt_for_each(scd, i, sv->sv_cpt_data) - spin_lock(&scd->scd_lock); + spin_lock(&scd->scd_lock); sv->sv_shuttingdown = 1; /* i.e. no new active RPC */ cfs_percpt_for_each(scd, i, sv->sv_cpt_data) - spin_unlock(&scd->scd_lock); + spin_unlock(&scd->scd_lock); cfs_percpt_for_each(scd, i, sv->sv_cpt_data) { spin_lock(&scd->scd_lock); /* schedule in-flight RPCs to notice the shutdown */ list_for_each_entry(rpc, &scd->scd_rpc_active, srpc_list) - swi_schedule_workitem(&rpc->srpc_wi); + swi_schedule_workitem(&rpc->srpc_wi); spin_unlock(&scd->scd_lock); @@ -780,7 +780,7 @@ srpc_shutdown_service(struct srpc_service *sv) * touches scd_buf_posted now */ list_for_each_entry(buf, &scd->scd_buf_posted, buf_list) - LNetMDUnlink(buf->buf_mdh); + LNetMDUnlink(buf->buf_mdh); } } -- 1.8.3.1