summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2020-10-26 17:52:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-10 14:37:27 +0300
commit2cd71743e7fff055bc9382b50f924e289b1dc740 (patch)
tree12e7f3b3b46cb8b5c2e45060694cdee4c7cc17ad /net/switchdev/switchdev.c
parentd2286457bd838e78f6e12a6f4a0d99aa64dc2cc0 (diff)
downloadlinux-2cd71743e7fff055bc9382b50f924e289b1dc740.tar.xz
gfs2: Wake up when sd_glock_disposal becomes zero
commit da7d554f7c62d0c17c1ac3cc2586473c2d99f0bd upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions