Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-ppc32
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-ppc32
  • Repository

Switch branch/tag
  • ipipe-ppc32
  • block
  • genhd.c
Find file BlameHistoryPermalink
  • Jan Kara's avatar
    block: Unhash also block device inode for the whole device · d06e05c0
    Jan Kara authored Feb 21, 2017
    
    
    Iteration over partitions in del_gendisk() omits part0. Add
    bdev_unhash_inode() call for the whole device. Otherwise if the device
    number gets reused, bdev inode will be still associated with the old
    (stale) bdi.
    Tested-by: default avatarLekshmi Pillai <lekshmicpillai@in.ibm.com>
    Acked-by: default avatarTejun Heo <tj@kernel.org>
    Signed-off-by: default avatarJan Kara <jack@suse.cz>
    Signed-off-by: default avatarJens Axboe <axboe@fb.com>
    d06e05c0

Replace genhd.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy