mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-18 21:14:28 +00:00
Revert "gfs2: check context in gfs2_glock_put"
It turns out that the might_sleep() call that commit660a6126f8
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 commit660a6126f8
. Fixes:660a6126f8
("gfs2: check context in gfs2_glock_put") Cc: stable@vger.kernel.org # v5.16+ Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
This commit is contained in:
parent
74382e277a
commit
356b8103d4
1 changed files with 0 additions and 3 deletions
|
@ -301,9 +301,6 @@ void gfs2_glock_queue_put(struct gfs2_glock *gl)
|
|||
|
||||
void gfs2_glock_put(struct gfs2_glock *gl)
|
||||
{
|
||||
/* last put could call sleepable dlm api */
|
||||
might_sleep();
|
||||
|
||||
if (lockref_put_or_lock(&gl->gl_lockref))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue