Commit 46468f03 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman

staging/lustre/osc: indent an if statement

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f761d016
......@@ -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 {
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment