diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-26 01:18:09 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-26 22:17:30 +0400 |
commit | 662455391040a783b89d0232e743c27c23617dbd (patch) | |
tree | aa1819778ac5005932edcbd844c54e6cab0dc4e5 /fs/nfs/client.c | |
parent | 2cf047c994c8a62f65e520342d0287fca8807a53 (diff) | |
download | linux-662455391040a783b89d0232e743c27c23617dbd.tar.xz |
NFSv4.1: Add DESTROY_CLIENTID
Ensure that we destroy our lease on last unmount
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r-- | fs/nfs/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index a50bdfbbc429..7d108753af81 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -209,6 +209,7 @@ static void nfs4_shutdown_session(struct nfs_client *clp) if (nfs4_has_session(clp)) { nfs4_deviceid_purge_client(clp); nfs4_destroy_session(clp->cl_session); + nfs4_destroy_clientid(clp); } } |