Skip to content
Commit a7ac203d authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

gfs2: Fix "Introduce flag for glock holder auto-demotion"



Function demote_incompat_holders iterates over the list of glock holders
with list_for_each_entry, and it then sometimes removes the current
holder from the list.  This will get the loop stuck; we must use
list_for_each_entry_safe instead.

Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent f3506eee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment