staging: lustre: Add a blank line after declarations.
Add a blank line after local variable declarations. Signed-off-by: Pan Li <incarnation.p.lee@outlook.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b16d335ddf
commit
8de056a13f
1 changed files with 2 additions and 0 deletions
|
@ -169,6 +169,7 @@ int cl_page_gang_lookup(const struct lu_env *env, struct cl_object *obj,
|
||||||
while ((nr = radix_tree_gang_lookup(&hdr->coh_tree, (void **)pvec,
|
while ((nr = radix_tree_gang_lookup(&hdr->coh_tree, (void **)pvec,
|
||||||
idx, CLT_PVEC_SIZE)) > 0) {
|
idx, CLT_PVEC_SIZE)) > 0) {
|
||||||
int end_of_region = 0;
|
int end_of_region = 0;
|
||||||
|
|
||||||
idx = pvec[nr - 1]->cp_index + 1;
|
idx = pvec[nr - 1]->cp_index + 1;
|
||||||
for (i = 0, j = 0; i < nr; ++i) {
|
for (i = 0, j = 0; i < nr; ++i) {
|
||||||
page = pvec[i];
|
page = pvec[i];
|
||||||
|
@ -286,6 +287,7 @@ static struct cl_page *cl_page_alloc(const struct lu_env *env,
|
||||||
GFP_NOFS);
|
GFP_NOFS);
|
||||||
if (page != NULL) {
|
if (page != NULL) {
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
atomic_set(&page->cp_ref, 1);
|
atomic_set(&page->cp_ref, 1);
|
||||||
if (type == CPT_CACHEABLE) /* for radix tree */
|
if (type == CPT_CACHEABLE) /* for radix tree */
|
||||||
atomic_inc(&page->cp_ref);
|
atomic_inc(&page->cp_ref);
|
||||||
|
|
Loading…
Add table
Reference in a new issue