]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gfs2: glock holder GL_NOPID fix
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 4 Feb 2025 12:16:03 +0000 (13:16 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 10 Mar 2025 17:15:38 +0000 (18:15 +0100)
commitf83f897614ab4036e76d34f389aee685f6ddb61c
tree393afc51f41a7fbf927ed2b508897d0f434c24de
parent8bbfde0875590b71f012bd8b0c9cb988c9a873b9
gfs2: glock holder GL_NOPID fix

Glocks are always actively acquired by processes, but as indicated by
the GL_NOPID holder flag, some of them are then associated with objects
like cached inodes rather than the process that acquired them.  As such,
for those glock holders, it makes little sense to dump which processes
originally acquired them.

Therefore, gfs2 is trying to hide the identity of the processes that
acquired those glocks.  The code for doing that is incorrect though, so
fix it.

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