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

ldiskfs osd proc interface lacks __user qualifiers

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.9.0
    • None
    • 3
    • 9223372036854775807

    Description

      All *_seq_write functions in lustre/osd-ldiskfs/osd_lproc.c declare
      buffesr as "const char *buffer" and should use "const char __user *buffer" instead.
      This includes:
      osd_brw_stats_seq_write
      ldiskfs_osd_cache_seq_write
      ldiskfs_osd_wcache_seq_write
      lprocfs_osd_force_sync_seq_write
      ldiskfs_osd_pdo_seq_write
      ldiskfs_osd_auto_scrub_seq_write
      ldiskfs_osd_full_scrub_ratio_seq_write
      ldiskfs_osd_full_scrub_threshold_rate_seq_write
      ldiskfs_osd_track_declares_assert_seq_write
      ldiskfs_osd_readcache_seq_write
      ldiskfs_osd_index_in_idif_seq_write

      Attachments

        Activity

          [LU-8259] ldiskfs osd proc interface lacks __user qualifiers

          Landed to master for 2.9.0

          jgmitter Joseph Gmitter (Inactive) added a comment - Landed to master for 2.9.0

          Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/20887/
          Subject: LU-8259 osd-ldiskfs update all *_seq_write() to use "const char __user *buffer"
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 0e4e1f61d1196df7415ee143804debcfe0ee88dd

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/20887/ Subject: LU-8259 osd-ldiskfs update all *_seq_write() to use "const char __user *buffer" Project: fs/lustre-release Branch: master Current Patch Set: Commit: 0e4e1f61d1196df7415ee143804debcfe0ee88dd

          Parinay Kondekar (parinay.kondekar@seagate.com) uploaded a new patch: http://review.whamcloud.com/20887
          Subject: LU-8259 osd-ldiskfs update all *_seq_write() to use "const char __user *buffer"
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 0dbd9542b854ed8e7cdcdb36624143e2d250d503

          gerrit Gerrit Updater added a comment - Parinay Kondekar (parinay.kondekar@seagate.com) uploaded a new patch: http://review.whamcloud.com/20887 Subject: LU-8259 osd-ldiskfs update all *_seq_write() to use "const char __user *buffer" Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 0dbd9542b854ed8e7cdcdb36624143e2d250d503

          People

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

            Dates

              Created:
              Updated:
              Resolved: