[LU-6496] Wrong code indentation in plain_authorize Created: 25/Apr/15  Updated: 07/Jul/15  Resolved: 07/Jul/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Minor
Reporter: Oleg Drokin Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-6142 Enforce Linux kernel coding style in ... Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The code in plain_authorize has misleading indentation hiding an assignment:

                cfs_crypto_hash_digest(CFS_HASH_ALG_CRC32,
                        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;


 Comments   
Comment by Gerrit Updater [ 25/Apr/15 ]

Oleg Drokin (oleg.drokin@intel.com) uploaded a new patch: http://review.whamcloud.com/14591
Subject: LU-6496 ptlrpc: Fix wrong code indentation in plain_authorize
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 908d1be5db42d79c37eae1afabada628f2c33628

Comment by Gerrit Updater [ 30/Apr/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14591/
Subject: LU-6496 ptlrpc: Fix wrong code indentation in plain_authorize
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c56f7675bfb17b3847b38044153e86550ced3c8e

Comment by Peter Jones [ 07/Jul/15 ]

Landed for 2.8

Generated at Sat Feb 10 02:00:44 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.