mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
blocklayoutdriver: Fix reference leak of pnfs_device_node
[ Upstream commit1530827b90] 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>
This commit is contained in:
parent
59b3715bc7
commit
17e6fc0688
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue