diff options
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r-- | fs/nfs/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 96d5f8135eb9..cce151776709 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
@@ -248,6 +248,8 @@ void nfs_free_client(struct nfs_client *clp) | |||
248 | 248 | ||
249 | if (clp->cl_machine_cred != NULL) | 249 | if (clp->cl_machine_cred != NULL) |
250 | put_rpccred(clp->cl_machine_cred); | 250 | put_rpccred(clp->cl_machine_cred); |
251 | if (clp->cl_root_cred != NULL) | ||
252 | put_rpccred(clp->cl_root_cred); | ||
251 | 253 | ||
252 | put_net(clp->cl_net); | 254 | put_net(clp->cl_net); |
253 | put_nfs_version(clp->cl_nfs_mod); | 255 | put_nfs_version(clp->cl_nfs_mod); |