diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/nfs4state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index efef7f2442d5..9ce58318ca8c 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -697,9 +697,6 @@ shutdown_callback_client(struct nfs4_client *clp) | |||
697 | static inline void | 697 | static inline void |
698 | free_client(struct nfs4_client *clp) | 698 | free_client(struct nfs4_client *clp) |
699 | { | 699 | { |
700 | shutdown_callback_client(clp); | ||
701 | if (clp->cl_cb_xprt) | ||
702 | svc_xprt_put(clp->cl_cb_xprt); | ||
703 | if (clp->cl_cred.cr_group_info) | 700 | if (clp->cl_cred.cr_group_info) |
704 | put_group_info(clp->cl_cred.cr_group_info); | 701 | put_group_info(clp->cl_cred.cr_group_info); |
705 | kfree(clp->cl_principal); | 702 | kfree(clp->cl_principal); |
@@ -752,6 +749,9 @@ expire_client(struct nfs4_client *clp) | |||
752 | se_perclnt); | 749 | se_perclnt); |
753 | release_session(ses); | 750 | release_session(ses); |
754 | } | 751 | } |
752 | shutdown_callback_client(clp); | ||
753 | if (clp->cl_cb_xprt) | ||
754 | svc_xprt_put(clp->cl_cb_xprt); | ||
755 | put_nfs4_client(clp); | 755 | put_nfs4_client(clp); |
756 | } | 756 | } |
757 | 757 | ||