aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/fld/fld_cache.c
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@infradead.org>2017-07-15 11:39:22 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-17 14:38:30 +0200
commitb6c82cc87f46d0f7b9ed215a3305f45d22ad1892 (patch)
tree98d35752ebbb2df1c1af1093dd2a0d39d9e47ee3 /drivers/staging/lustre/lustre/fld/fld_cache.c
parentStaging: rtl8192u: Use __func__ instead of function name. (diff)
downloadlinux-dev-b6c82cc87f46d0f7b9ed215a3305f45d22ad1892.tar.xz
linux-dev-b6c82cc87f46d0f7b9ed215a3305f45d22ad1892.zip
staging: lustre: lustre: fix all braces issues reported by checkpatch
Cleanup all braces that was reported by checkpatch. The only issue not fixed up is in mdc_lock.c. Removing the braces in the case of mdc_lock.c will break the build. Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/fld/fld_cache.c')
-rw-r--r--drivers/staging/lustre/lustre/fld/fld_cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/fld/fld_cache.c b/drivers/staging/lustre/lustre/fld/fld_cache.c
index b852fed0b10f..adaa0942130f 100644
--- a/drivers/staging/lustre/lustre/fld/fld_cache.c
+++ b/drivers/staging/lustre/lustre/fld/fld_cache.c
@@ -348,9 +348,10 @@ static void fld_cache_overlap_handle(struct fld_cache *cache,
f_curr->fce_range.lsr_end = new_start;
fld_cache_entry_add(cache, f_new, &f_curr->fce_list);
- } else
+ } else {
CERROR("NEW range =" DRANGE " curr = " DRANGE "\n",
PRANGE(range), PRANGE(&f_curr->fce_range));
+ }
}
struct fld_cache_entry