Skip to content
  • Steven Whitehouse's avatar
    [GFS2] Fix bug in error path of inode · e1cc8603
    Steven Whitehouse authored
    
    
    This fixes a bug in the ordering of operations in the error path of
    createi. Its not valid to do an iput() when holding the inode's glock
    since the iput() will (in this case) result in delete_inode() being
    called which needs to grab the lock itself. This was causing the
    recursive lock checking code to trigger.
    
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    e1cc8603