• Dave Kleikamp's avatar
    JFS: [CHECKER] if txCommit fails, don't call d_instantiate · 21776fa3
    Dave Kleikamp authored
    In several functions, d_instantiate is called before the transaction
    is committed.  Under the rare condition that txCommit fails, the new
    inode is released, but the dentry continues to point to it.  This
    can lead to a seg fault.  The fix is to call d_instantiate after
    txCommit has run successfully.
    21776fa3
namei.c 33.8 KB