Skip to content
  • Artem Bityutskiy's avatar
    2eadaad6
    UBI: fix backward compatibility · 2eadaad6
    Artem Bityutskiy authored
    
    
    Commit 32bc4820 did not fully fix
    the backward compatibility issues. We still fail to properly handle
    situations when the first PEB contains non-zero image sequence
    number, but one of the following PEBs contains zero image sequence
    number. For example, this may happen if we mount a new image with
    an old kernel, and then try to mount it in the new kernel.
    
    This patch should fix the issue.
    
    Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    2eadaad6
    UBI: fix backward compatibility
    Artem Bityutskiy authored
    
    
    Commit 32bc4820 did not fully fix
    the backward compatibility issues. We still fail to properly handle
    situations when the first PEB contains non-zero image sequence
    number, but one of the following PEBs contains zero image sequence
    number. For example, this may happen if we mount a new image with
    an old kernel, and then try to mount it in the new kernel.
    
    This patch should fix the issue.
    
    Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Loading