diff options
author | Bob Peterson <rpeterso@redhat.com> | 2020-02-17 21:14:13 +0100 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2020-02-27 14:53:18 +0100 |
commit | 019dd669bde14bc0748bc43af2f96e2c5e37d3f8 (patch) | |
tree | 1dbcf3a5bb0d50fd9f5bdf3f6465ddea2f733779 /fs/gfs2/recovery.c | |
parent | gfs2: flesh out delayed withdraw for gfs2_log_flush (diff) | |
download | linux-019dd669bde14bc0748bc43af2f96e2c5e37d3f8.tar.xz linux-019dd669bde14bc0748bc43af2f96e2c5e37d3f8.zip |
gfs2: don't allow releasepage to free bd still used for revokes
Before this patch, function gfs2_releasepage would free any bd
elements that had been used for the page being released. However,
those bd elements may still be queued to the sd_log_revokes list,
in which case we cannot free them until the revoke has been issued.
This patch adds additional checks for bds that are still being
used for revokes.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/recovery.c')
0 files changed, 0 insertions, 0 deletions