[Cluster-devel] [PATCH] gfs2: Fix error handling in init_statfs()
Andreas Gruenbacher
agruenba at redhat.com
Mon Jun 28 12:23:47 UTC 2021
Hi Jing,
On Mon, Jun 28, 2021 at 1:22 PM Jing Xiangfeng <jingxiangfeng at huawei.com> wrote:
> In an error path of init_statfs(), it calls iput to put pn which has been
> put. Jump to correct label to fix it.
thanks for your patch. This looks okay, but I'd rather set pn to NULL
after the iput instead. Since iput(NULL) is a no-op, we'll end up with
the same result.
Andreas
More information about the Cluster-devel
mailing list