aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrikrishan Malik <srikrishanmalik@gmail.com>2014-08-11 23:57:37 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-16 12:23:18 -0700
commit78dd07983b405df2f98ae96137c69cb9e208b312 (patch)
treee398a28b91324fb48be3a294ff14b4ef4312e374
parentstaging: lustre: Fix misplaced opening brace warnings (diff)
staging: lustre: move else on the same line as closing brace
Fix the following checkpatch error: ERROR: else should follow close brace '}' Signed-off-by: Srikrishan Malik <srikrishanmalik@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/lustre/lustre/mdc/mdc_request.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/mdc/mdc_request.c b/drivers/staging/lustre/lustre/mdc/mdc_request.c
index d6fd21187806..ffe9e3dd74e6 100644
--- a/drivers/staging/lustre/lustre/mdc/mdc_request.c
+++ b/drivers/staging/lustre/lustre/mdc/mdc_request.c
@@ -587,8 +587,7 @@ int mdc_get_lustre_md(struct obd_export *exp, struct ptlrpc_request *req,
lustre_swab_mdt_remote_perm);
if (!md->remote_perm)
GOTO(out, rc = -EPROTO);
- }
- else if (md->body->valid & OBD_MD_FLACL) {
+ } else if (md->body->valid & OBD_MD_FLACL) {
/* for ACL, it's possible that FLACL is set but aclsize is zero.
* only when aclsize != 0 there's an actual segment for ACL
* in reply buffer.