Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-6496

Wrong code indentation in plain_authorize

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.8.0
    • Labels:
      None
    • 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;
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wc-triage WC Triage
              Reporter:
              green Oleg Drokin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: