summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2021-11-08 16:08:07 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2021-11-08 16:29:28 +0100
commita7ac203d8fd366bb6318f856466f52484c623d05 (patch)
treea8144a764814881e0e5efc1fe7c79c93d2b8c0a2 /arch/s390
parentgfs2: Fix length of holes reported at end-of-file (diff)
downloadlinux-a7ac203d8fd366bb6318f856466f52484c623d05.tar.xz
linux-a7ac203d8fd366bb6318f856466f52484c623d05.zip
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: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions