• Linus Torvalds's avatar
    Merge tag 'gfs2-v5.19-rc4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · c42b729e
    Linus Torvalds authored
    Pull gfs2 updates from Andreas Gruenbacher:
    
     - Instantiate glocks ouside of the glock state engine, in the contect
       of the process taking the glock. This moves unnecessary complexity
       out of the core glock code. Clean up the instantiate logic to be more
       sensible.
    
     - In gfs2_glock_async_wait(), cancel pending locking request upon
       failure. Make sure all glocks are left in a consistent state.
    
     - Various other minor cleanups and fixes.
    
    * tag 'gfs2-v5.19-rc4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
      gfs2: List traversal in do_promote is safe
      gfs2: do_promote glock holder stealing fix
      gfs2: Use better variable name
      gfs2: Make go_instantiate take a glock
      gfs2: Add new go_held glock operation
      gfs2: Revert 'Fix "truncate in progress" hang'
      gfs2: Instantiate glocks ouside of glock state engine
      gfs2: Fix up gfs2_glock_async_wait
      gfs2: Minor gfs2_glock_nq_m cleanup
      gfs2: Fix spelling mistake in comment
      gfs2: Rewrap overlong comment in do_promote
      gfs2: Remove redundant NULL check before kfree
    c42b729e
glock.c 70.8 KB