Revert "gfs2: check context in gfs2_glock_put"
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 3 Feb 2022 13:06:56 +0000 (14:06 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 11 Feb 2022 16:44:11 +0000 (17:44 +0100)
commit356b8103d4c495d5440e3e687db9026ec2b76043
treead5ec148270b5c01c6780ff3a3ddaa9976ec4a7d
parent74382e277ae97b4bcfac6f8b61df7a500d392500
Revert "gfs2: check context in gfs2_glock_put"

It turns out that the might_sleep() call that commit 660a6126f8c3 adds
is triggering occasional data corruption in testing.  We're not sure
about the root cause yet, but since this commit was added as a debugging
aid only, revert it for now.

This reverts commit 660a6126f8c3208f6df8d552039cda078a8426d1.

Fixes: 660a6126f8c3 ("gfs2: check context in gfs2_glock_put")
Cc: stable@vger.kernel.org # v5.16+
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glock.c