Files
kernel_xiaomi_sm8250/fs
Alexander Aring fe0af0efa7 gfs2: Wake up when sd_glock_disposal becomes zero
commit da7d554f7c62d0c17c1ac3cc2586473c2d99f0bd upstream.

Commit fc0e38dae6 ("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: fc0e38dae6 ("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>
2020-11-10 12:35:58 +01:00
..
2020-11-05 11:08:53 +01:00
2020-11-05 11:08:44 +01:00
2019-08-06 19:06:51 +02:00
2020-10-30 10:38:28 +01:00
2020-11-05 11:08:54 +01:00
2020-08-26 10:31:01 +02:00
2019-12-13 08:51:59 +01:00
2020-11-05 11:08:50 +01:00
2020-06-22 09:05:01 +02:00
2020-03-05 16:42:12 +01:00
2020-03-25 08:06:14 +01:00