]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gfs2: Add LM_FLAG_OUTER glock holder flag
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 13 May 2021 08:46:08 +0000 (10:46 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 2 Jun 2021 09:47:03 +0000 (11:47 +0200)
commita06cf5b66b4492ad64b44ebea0524e73eefbe248
tree903c9bb82590b0154c449ba690f1a139ba81c496
parentfd3a022b72283126834863c0d7df7fa6d3a5669b
gfs2: Add LM_FLAG_OUTER glock holder flag

When a glock holder has the LM_FLAG_OUTER flag set, we set the
current_holds_glock() flag upon taking the lock.  With that flag set, we can
then recognize when trying to take an "inner" glock and react accordingly.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glock.c
fs/gfs2/glock.h