commit | 82218943058d5e3fe692a38b5a549479738dab33 | [log] [tgz] |
---|---|---|
author | Bob Peterson <rpeterso@redhat.com> | Thu Jan 21 10:10:26 2021 -0500 |
committer | Bob Peterson <rpeterso@redhat.com> | Mon Jan 25 08:08:44 2021 -0500 |
tree | b61c5d35b664dc8c89c765cf50192da66b7213e7 | |
parent | f5f02fde9f52b2d769c1c2ddfd3d9c4a1fe739a7 [diff] |
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: Bob Peterson <rpeterso@redhat.com>