summaryrefslogtreecommitdiff
path: root/fs/debugfs/file.c
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2020-10-26 10:52:29 -0400
committerAndreas Gruenbacher <agruenba@redhat.com>2020-11-03 14:39:11 +0100
commitda7d554f7c62d0c17c1ac3cc2586473c2d99f0bd (patch)
treec9f4f8c199ef7335fff49ed0ca929040e945915c /fs/debugfs/file.c
parent6bd1c7bd4ee7b17980cdc347522dcb76feac9b98 (diff)
downloadlwn-da7d554f7c62d0c17c1ac3cc2586473c2d99f0bd.tar.gz
lwn-da7d554f7c62d0c17c1ac3cc2586473c2d99f0bd.zip
gfs2: Wake up when sd_glock_disposal becomes zero
Commit fc0e38dae645 ("GFS2: Fix glock deallocation race") fixed a sd_glock_disposal accounting bug by adding a missing atomic_dec statement, but it failed to wake up sd_glock_wait when that decrement causes sd_glock_disposal to reach zero. As a consequence, gfs2_gl_hash_clear can now run into a 10-minute timeout instead of being woken up. Add the missing wakeup. Fixes: fc0e38dae645 ("GFS2: Fix glock deallocation race") Cc: stable@vger.kernel.org # v2.6.39+ Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/debugfs/file.c')
0 files changed, 0 insertions, 0 deletions