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

Fix mismatched lustre-libcfs.m4 comments

    XMLWordPrintable

Details

    • 9223372036854775807

    Description

      Several macros whose ends are commented to identify the macro being defined, have the wrong macro named in the comment. For example,

      AC_DEFUN([LIBCFS_RHASHTABLE_WALK_INIT_3ARG], [
      LB_CHECK_COMPILE([if 'rhashtable_walk_init' has 3 args],
      rhashtable_walk_init, [
              #include <linux/gfp.h>
              #include <linux/rhashtable.h>
      ],[
              rhashtable_walk_init(NULL, NULL, GFP_KERNEL);
      ],[
              AC_DEFINE(HAVE_3ARG_RHASHTABLE_WALK_INIT, 1,
                      [rhashtable_walk_init() has 3 args])
      ])
      ]) # LIBCFS_RHASHTABLE_REPLACE
      

      These are presumably copy-and-paste errors.

      Attachments

        Activity

          People

            ofaaland Olaf Faaland
            ofaaland Olaf Faaland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: