linux-stable/fs/nfs/blocklayout
Benjamin Coddington db55dbbba5 blocklayoutdriver: Fix reference leak of pnfs_device_node
[ Upstream commit 1530827b90 ]

The error path for blocklayout's device lookup is missing a reference drop
for the case where a lookup finds the device, but the device is marked with
NFS_DEVICEID_UNAVAILABLE.

Fixes: b3dce6a2f0 ("pnfs/blocklayout: handle transient devices")
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 14:34:24 -08:00
..
blocklayout.c blocklayoutdriver: Fix reference leak of pnfs_device_node 2024-01-25 14:34:24 -08:00
blocklayout.h
dev.c
extent_tree.c
Makefile
rpc_pipefs.c