]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
qibfs: fix _another_ leak
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 13 May 2024 23:50:34 +0000 (17:50 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:50:56 +0000 (07:50 +0200)
commit5d53e88d8370b9ab14dd830abb410d9a2671edb6
tree4599969f1aeef797d3d8380f215c566e235327ad
parentdb437e985469e2cace95604761eb8ba768f025ec
qibfs: fix _another_ leak

[ Upstream commit bdb43af4fdb39f844ede401bdb1258f67a580a27 ]

failure to allocate inode => leaked dentry...

this one had been there since the initial merge; to be fair,
if we are that far OOM, the odds of failing at that particular
allocation are low...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/qib/qib_fs.c