summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2021-06-28 19:14:50 +0800
committerAndreas Gruenbacher <agruenba@redhat.com>2021-06-28 14:30:00 +0200
commit5d49d3508b3c67201bd3e1bf7f4ef049111b7051 (patch)
treee42ddf6deaaff608671bfe778d2016e3e6dad8f9 /lib
parentd3c51c55cb9274dd43c156f1f26b5eb4d5f2d58c (diff)
downloadlinux-5d49d3508b3c67201bd3e1bf7f4ef049111b7051.tar.gz
linux-5d49d3508b3c67201bd3e1bf7f4ef049111b7051.tar.bz2
linux-5d49d3508b3c67201bd3e1bf7f4ef049111b7051.zip
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 'lib')
0 files changed, 0 insertions, 0 deletions