71fff5c gfs2_edit: Fix null pointer deref in dump_journal()

Authored and Committed by andyp 6 years ago
    gfs2_edit: Fix null pointer deref in dump_journal()
    
    Spotted by coverity:
    
    "Passing &j_inode to inode_put, which dereferences null j_inode"
    
    This might only happen for gfs1 filesystems.
    
    Signed-off-by: Andrew Price <anprice@redhat.com>
    
        
file modified
+2 -1