Skip to content
  • Alasdair G Kergon's avatar
    dm thin: fix metadata dev resize detection · 610bba8b
    Alasdair G Kergon authored
    Fix detection of the need to resize the dm thin metadata device.
    
    The code incorrectly tried to extend the metadata device when it
    didn't need to due to a merging error with patch 24347e95
    
     ("dm thin:
    detect metadata device resizing").
    
      device-mapper: transaction manager: couldn't open metadata space map
      device-mapper: thin metadata: tm_open_with_sm failed
      device-mapper: thin: aborting transaction failed
      device-mapper: thin: switching pool to failure mode
    
    Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
    610bba8b