Trond Myklebust 4aa17d058a NFSv4/pNFS: Don't call _nfs4_pnfs_v3_ds_connect multiple times
[ Upstream commit f46f84931a0aa344678efe412d4b071d84d8a805 ]

After we grab the lock in nfs4_pnfs_ds_connect(), there is no check for
whether or not ds->ds_clp has already been initialised, so we can end up
adding the same transports multiple times.

Fixes: fc821d59209d ("pnfs/NFSv4.1: Add multipath capabilities to pNFS flexfiles servers over NFSv3")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:05:53 +02:00
..
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2020-05-27 10:10:12 -04:00
2020-08-15 08:26:55 -07:00
2019-02-20 15:14:21 -05:00
2015-04-23 15:16:14 -04:00
2020-06-11 13:33:48 -04:00