RDMA/iw_cxgb4: cleanup device debugfs entries on ULD remove
authorPotnuri Bharat Teja <bharat@chelsio.com>
Sun, 24 May 2020 19:08:14 +0000 (00:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:48:55 +0000 (17:48 +0200)
commit9c0cec79e5c914662c2cf98b4a729c0fcc8c872e
treed73d8aa2fe2aad72139064ef3b6bd8ba5cda3f5e
parent672ae3d2185030db181b2557fe8d21d5e470ad9f
RDMA/iw_cxgb4: cleanup device debugfs entries on ULD remove

[ Upstream commit 49ea0c036ede81f126f1a9389d377999fdf5c5a1 ]

Remove device specific debugfs entries immediately if LLD detaches a
particular ULD device in case of fatal PCI errors.

Link: https://lore.kernel.org/r/20200524190814.17599-1-bharat@chelsio.com
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/cxgb4/device.c