]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging/lustre/osc: indent an if statement
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 10 Nov 2016 12:50:51 +0000 (15:50 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 14:55:05 +0000 (15:55 +0100)
We accidentally removed a tab here.  Let's add it back, and some curly
braces as well since this is a muti-line indent.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/osc/osc_lock.c

index e337e8706c7ebc4f5979112e9c8b997c2846f97a..bfc8d384f6b5a4a4d4f1babcc66ac68e8564f86e 100644 (file)
@@ -607,9 +607,11 @@ static int osc_ldlm_glimpse_ast(struct ldlm_lock *dlmlock, void *data)
                        lvb = req_capsule_server_get(cap, &RMF_DLM_LVB);
                        result = cl_object_glimpse(env, obj, lvb);
                }
-               if (!exp_connect_lvb_type(req->rq_export))
-               req_capsule_shrink(&req->rq_pill, &RMF_DLM_LVB,
-                                  sizeof(struct ost_lvb_v1), RCL_SERVER);
+               if (!exp_connect_lvb_type(req->rq_export)) {
+                       req_capsule_shrink(&req->rq_pill, &RMF_DLM_LVB,
+                                          sizeof(struct ost_lvb_v1),
+                                          RCL_SERVER);
+               }
                cl_object_put(env, obj);
        } else {
                /*