summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lustre/ptlrpc/client.c
diff options
context:
space:
mode:
authorOleg Drokin <green@linuxhacker.ru>2016-04-01 15:18:01 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-11 20:44:03 -0700
commitda5ecb4dfd84fa4eaba782fc3fa0aa0f807a5804 (patch)
tree842819e7f8e0c32e1e0639faa723ba57d02be755 /drivers/staging/lustre/lustre/ptlrpc/client.c
parent5f47992491ffe2d5b2b4ea3556bc0f3c0ec9bc8b (diff)
staging/lustre: Fix braces {} style
This fixes all checkpatch form of this from the Lustre tree: CHECK: braces {} should be used on all arms of this statement Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/ptlrpc/client.c')
-rw-r--r--drivers/staging/lustre/lustre/ptlrpc/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/ptlrpc/client.c b/drivers/staging/lustre/lustre/ptlrpc/client.c
index 355f108fea01..e02d95d1d537 100644
--- a/drivers/staging/lustre/lustre/ptlrpc/client.c
+++ b/drivers/staging/lustre/lustre/ptlrpc/client.c
@@ -595,9 +595,9 @@ static int __ptlrpc_request_bufs_pack(struct ptlrpc_request *request,
struct obd_import *imp = request->rq_import;
int rc;
- if (unlikely(ctx))
+ if (unlikely(ctx)) {
request->rq_cli_ctx = sptlrpc_cli_ctx_get(ctx);
- else {
+ } else {
rc = sptlrpc_req_get_ctx(request);
if (rc)
goto out_free;