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

fiemap extent uses u64 type, not loff_t type

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.10.0
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      Reported by Dan Carpenter <dan.carpenter@oracle.com>

      lov_object_fiemap() has following static checker warning:

      drivers/staging/lustre/lustre/lov/lov_object.c:1241 lov_object_fiemap()
      warn: signed overflow undefined. 'fm_start + fm_length < fm_start'

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bobijam Zhenyu Xu
                Reporter:
                bobijam Zhenyu Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: