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

Have prepare-commit-msg or checkpatch.pl to warn about deprecated cfs_* uses

    XMLWordPrintable

Details

    • 3
    • 12208

    Description

      It would be useful for prepare-commit-msg and/or checkpatch.pl warn about cfs_list_() and cfs_atomic_() and other deprecated wrappers in new patches.

      I think checkpatch.pl has a feature for reporting on deprecated function usage, or we could call the sed script to report on any changes that it finds.

      Now that we are close to finishing the cfs_* wrapper removal we don't want to introduce new users in patches that are landing.

      Attachments

        Activity

          People

            jhammond John Hammond
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: