Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-power
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-power
  • Repository
  • linux-power
  • fs
  • iomap
  • seek.c
Find file BlameHistoryPermalink
  • Christoph Hellwig's avatar
    iomap: remove the length variable in iomap_seek_hole · 49694d14
    Christoph Hellwig authored Jul 15, 2021
    
    
    The length variable is rather pointless given that it can be trivially
    deduced from offset and size.  Also the initial calculation can lead
    to KASAN warnings.
    
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Reported-by: default avatarLeizhen (ThunderTown) <thunder.leizhen@huawei.com>
    Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
    Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
    Reviewed-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
    49694d14