diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2021-06-28 19:14:50 +0800 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2021-06-28 14:30:00 +0200 |
commit | 5d49d3508b3c67201bd3e1bf7f4ef049111b7051 (patch) | |
tree | e42ddf6deaaff608671bfe778d2016e3e6dad8f9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d3c51c55cb9274dd43c156f1f26b5eb4d5f2d58c (diff) |
gfs2: Fix error handling in init_statfs
On an error path, init_statfs calls iput(pn) after pn has already been put.
Fix that by setting pn to NULL after the initial iput.
Fixes: 97fd734ba17e ("gfs2: lookup local statfs inodes prior to journal recovery")
Cc: stable@vger.kernel.org # v5.10+
Reported-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions