Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-x86
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-x86
  • Repository
Switch branch/tag
  • ipipe-x86
  • drivers
  • md
  • dm-raid.c
Find file BlameHistoryPermalink
  • Heinz Mauelshagen's avatar
    dm raid: make sure no feature flags are set in metadata · 4c9971ca
    Heinz Mauelshagen authored Apr 29, 2016
    
    
    Given we don't yet support any feature flags in the dm-raid ondisk
    metadata (see: 'features' member of 'struct dm_raid_superblock'),
    add a check to ensure no flags are actually set, if any features are
    set reject the activation of the RAID mapping.
    
    This is to prevent possible data corruption in case of a kernel
    downgrade when there'll potentially be feature flags set by a future
    dm-raid target.
    Signed-off-by: default avatarHeinz Mauelshagen <heinzm@redhat.com>
    Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
    4c9971ca

Imprint & Privacy Policy