staging/lustre/ptlrpc: Fix wrong indenting in plain_authorize()
authorOleg Drokin <green@linuxhacker.ru>
Sat, 16 May 2015 07:38:32 +0000 (03:38 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 00:29:45 +0000 (09:29 +0900)
smatch highlighted a wrongly indented bit of code that almost
hides the extra assignment.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/sec_plain.c

index 989cdcda27b56578567c12a8fa2de35d55638aa4..65f3ab42829c5d4d9386da71ce864e7a423331bc 100644 (file)
@@ -870,7 +870,7 @@ int plain_authorize(struct ptlrpc_request *req)
                        lustre_msg_buf(msg, PLAIN_PACK_MSG_OFF, 0),
                        lustre_msg_buflen(msg, PLAIN_PACK_MSG_OFF),
                        NULL, 0, (unsigned char *)&msg->lm_cksum, &hsize);
-                       req->rq_reply_off = 0;
+               req->rq_reply_off = 0;
        }
 
        return 0;