[PATCH] staging: lustre: lustre: mdc: mdc_reint: fix coding style issue
sunwxg
743559269 at qq.com
Mon Sep 1 04:27:25 UTC 2014
From: Sun Wang <sunwxg at gmail.com>
Coding style issues, the changes include:
-Remove '{}'
Signed-off-by: Sun Wang <sunwxg at gmail.com>
---
drivers/staging/lustre/lustre/mdc/mdc_reint.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/lustre/lustre/mdc/mdc_reint.c b/drivers/staging/lustre/lustre/mdc/mdc_reint.c
index 01af30a..5e9c629 100644
--- a/drivers/staging/lustre/lustre/mdc/mdc_reint.c
+++ b/drivers/staging/lustre/lustre/mdc/mdc_reint.c
@@ -57,9 +57,9 @@ static int mdc_reint(struct ptlrpc_request *request,
mdc_put_rpc_lock(rpc_lock, NULL);
if (rc)
CDEBUG(D_INFO, "error in handling %d\n", rc);
- else if (!req_capsule_server_get(&request->rq_pill, &RMF_MDT_BODY)) {
+ else if (!req_capsule_server_get(&request->rq_pill, &RMF_MDT_BODY))
rc = -EPROTO;
- }
+
return rc;
}
More information about the devel
mailing list