staging: lustre: move else on the same line as closing brace
authorSrikrishan Malik <srikrishanmalik@gmail.com>
Mon, 11 Aug 2014 18:27:37 +0000 (23:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:18 +0000 (12:23 -0700)
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>
drivers/staging/lustre/lustre/mdc/mdc_request.c

index d6fd2118780669fb29b3cbd6d4ac30e748d31180..ffe9e3dd74e675d2a3d8da51359fa64edfdfaa22 100644 (file)
@@ -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.
This page took 0.025437 seconds and 5 git commands to generate.