Skip to content
Commit 9d9b1605 authored by Bob Peterson's avatar Bob Peterson
Browse files

gfs2: Fix glock recursion in freeze_go_xmote_bh



We must not call gfs2_consist (which does a file system withdraw) from
the freeze glock's freeze_go_xmote_bh function because the withdraw
will try to use the freeze glock, thus causing a glock recursion error.

This patch changes freeze_go_xmote_bh to call function
gfs2_assert_withdraw_delayed instead of gfs2_consist to avoid recursion.

Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
parent a6579cbf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment