summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4client.c
diff options
context:
space:
mode:
authorTrond Myklebust2015-01-03 21:16:04 +0100
committerTrond Myklebust2015-01-06 04:40:53 +0100
commitceb3a16c070c403f5f9ca46b46cf2bb79ea11750 (patch)
tree541de2598fad3fa145a94e119f70ab44edc2bf80 /fs/nfs/nfs4client.c
parentNFSv4.1: Fix client id trunking on Linux (diff)
downloadkernel-qcow2-linux-ceb3a16c070c403f5f9ca46b46cf2bb79ea11750.tar.gz
kernel-qcow2-linux-ceb3a16c070c403f5f9ca46b46cf2bb79ea11750.tar.xz
kernel-qcow2-linux-ceb3a16c070c403f5f9ca46b46cf2bb79ea11750.zip
NFSv4: Cache the NFSv4/v4.1 client owner_id in the struct nfs_client
Ensure that we cache the NFSv4/v4.1 client owner_id so that we can verify it when we're doing trunking detection. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs4client.c')
-rw-r--r--fs/nfs/nfs4client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4client.c b/fs/nfs/nfs4client.c
index d949d0f378ec..6ee9bf69a7a6 100644
--- a/fs/nfs/nfs4client.c
+++ b/fs/nfs/nfs4client.c
@@ -228,6 +228,7 @@ static void nfs4_shutdown_client(struct nfs_client *clp)
kfree(clp->cl_serverowner);
kfree(clp->cl_serverscope);
kfree(clp->cl_implid);
+ kfree(clp->cl_owner_id);
}
void nfs4_free_client(struct nfs_client *clp)