diff options
author | Bob Peterson <rpeterso@redhat.com> | 2021-06-01 17:41:40 +0300 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2021-08-04 22:59:02 +0300 |
commit | 9d9b16054b7d357afde69a027514c695092b0d22 (patch) | |
tree | 7fac35c85dc0c1184b1eab3c66ffa0286547053d /fs/gfs2/lops.c | |
parent | a6579cbfd7216b071008db13360c322a6b21400b (diff) | |
download | linux-9d9b16054b7d357afde69a027514c695092b0d22.tar.xz |
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: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/lops.c')
0 files changed, 0 insertions, 0 deletions