• Artem Bityutskiy's avatar
    UBIFS: fix oops in lprops dump function · 1321657d
    Artem Bityutskiy authored
    The 'dbg_dump_lprop()' is trying to detect journal head LEBs when printing,
    so it looks at the write-buffers. However, if we are in R/O mode, we
    de-allocate the write-buffers, so 'dbg_dump_lprop()' oopses. This patch fixes
    the issue.
    
    Note, this patch is not critical, it is only about the debugging code path, and
    it is unlikely that anyone but UBIFS developers would ever hit this issue.
    Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    1321657d
debug.c 78.1 KB