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

gfs2: keep bios separate for each journal



The recovery func can recover multiple journals, but they were all using
the same bio. This resulted in use-after-free related to sdp->sd_log_bio.
This patch moves the variable to the journal descriptor, jd, so that
every recovery can operate on its own bio. And hopefully we never run out.

Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
parent f5f02fde
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment