aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAbhi Das <adas@redhat.com>2020-02-04 14:14:56 -0600
committerAndreas Gruenbacher <agruenba@redhat.com>2020-02-06 17:35:23 +0100
commit7582026f6f3588ecebd281965c8a71aff6fb6158 (patch)
treebbff92297065efcbdfd7795b8a28a0f54ceb4c14 /tools/perf/scripts/python/export-to-postgresql.py
parentMerge tag 'gfs2-for-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 (diff)
downloadwireguard-linux-7582026f6f3588ecebd281965c8a71aff6fb6158.tar.xz
wireguard-linux-7582026f6f3588ecebd281965c8a71aff6fb6158.zip
gfs2: fix gfs2_find_jhead that returns uninitialized jhead with seq 0
When the first log header in a journal happens to have a sequence number of 0, a bug in gfs2_find_jhead() causes it to prematurely exit, and return an uninitialized jhead with seq 0. This can cause failures in the caller. For instance, a mount fails in one test case. The correct behavior is for it to continue searching through the journal to find the correct journal head with the highest sequence number. Fixes: f4686c26ecc3 ("gfs2: read journal in large chunks") Cc: stable@vger.kernel.org # v5.2+ Signed-off-by: Abhi Das <adas@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions