diff options
author | Oleg Drokin <green@linuxhacker.ru> | 2016-04-01 15:18:01 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-11 20:44:03 -0700 |
commit | da5ecb4dfd84fa4eaba782fc3fa0aa0f807a5804 (patch) | |
tree | 842819e7f8e0c32e1e0639faa723ba57d02be755 /drivers/staging/lustre/lustre/fld/fld_cache.c | |
parent | Merge 4.6-rc3 into staging-next (diff) | |
download | linux-dev-da5ecb4dfd84fa4eaba782fc3fa0aa0f807a5804.tar.xz linux-dev-da5ecb4dfd84fa4eaba782fc3fa0aa0f807a5804.zip |
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/fld/fld_cache.c')
-rw-r--r-- | drivers/staging/lustre/lustre/fld/fld_cache.c | 3 |
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 062f388cf38a..5a04e99d9249 100644 --- a/drivers/staging/lustre/lustre/fld/fld_cache.c +++ b/drivers/staging/lustre/lustre/fld/fld_cache.c @@ -178,8 +178,9 @@ restart_fixup: if (n_range->lsr_end <= c_range->lsr_end) { *n_range = *c_range; fld_cache_entry_delete(cache, f_curr); - } else + } else { n_range->lsr_start = c_range->lsr_end; + } } /* we could have overlap over next |