diff options
author | Olga Kornievskaia <olga.kornievskaia@gmail.com> | 2022-07-25 16:32:23 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-07-25 17:06:04 +0300 |
commit | 88363d3e9db66e697fd0198cc2c1785377f2459a (patch) | |
tree | 0b2887b8543a6f6cad7663c5508bd067cabcd282 /fs/nfs | |
parent | 895245ccea251ff54ea19bc364c9a49007918115 (diff) | |
download | linux-88363d3e9db66e697fd0198cc2c1785377f2459a.tar.xz |
NFSv4.1 offline trunkable transports on DESTROY_SESSION
When session is destroy, some of the transports might no longer be
valid trunks for the new session. Offline existing transports.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/nfs4proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 4e0dcc19ca71..3f4e84e9646e 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -9291,6 +9291,7 @@ int nfs4_proc_destroy_session(struct nfs4_session *session, if (status) dprintk("NFS: Got error %d from the server on DESTROY_SESSION. " "Session has been destroyed regardless...\n", status); + rpc_clnt_manage_trunked_xprts(session->clp->cl_rpcclient); return status; } |