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

no effect assignment in sptlrpc_lproc_init()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Seems to be added by 218fc688c11f081881b2cc1c1632ceaf9ec77a77 "LU-12401 gss: fix checksum for Kerberos and SSK"

      +       sptlrpc_lprocfs_dir = lprocfs_register("sptlrpc", proc_lustre_root,
      +                                              NULL, NULL);
      +       if (IS_ERR_OR_NULL(sptlrpc_lprocfs_dir)) {
      +               rc = PTR_ERR(sptlrpc_lprocfs_dir);
      +               rc = sptlrpc_lprocfs_dir ? PTR_ERR(sptlrpc_lprocfs_dir)
      +                       : -ENOMEM;
      +               sptlrpc_lprocfs_dir = NULL;
      +       }
      

      that first 'rc =' line does not make any sense, does it?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: