diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2017-02-04 20:57:07 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2017-02-17 16:26:00 -0500 |
commit | f7d1ddbe7648af7460d23688c8c131342eb43b3a (patch) | |
tree | fc2e10cdd756b1233e91594117cd6148bc84feb2 /fs/nfsd/state.h | |
parent | c3821b3497aae1752cb2be72c32f650ef24c8820 (diff) |
nfsd/callback: Cleanup callback cred on shutdown
The rpccred gotten from rpc_lookup_machine_cred() should be put when
state is shutdown.
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 4516e8b7d776..005c911b34ac 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h | |||
@@ -615,6 +615,7 @@ extern struct nfs4_client_reclaim *nfsd4_find_reclaim_client(const char *recdir, | |||
615 | extern __be32 nfs4_check_open_reclaim(clientid_t *clid, | 615 | extern __be32 nfs4_check_open_reclaim(clientid_t *clid, |
616 | struct nfsd4_compound_state *cstate, struct nfsd_net *nn); | 616 | struct nfsd4_compound_state *cstate, struct nfsd_net *nn); |
617 | extern int set_callback_cred(void); | 617 | extern int set_callback_cred(void); |
618 | extern void cleanup_callback_cred(void); | ||
618 | extern void nfsd4_probe_callback(struct nfs4_client *clp); | 619 | extern void nfsd4_probe_callback(struct nfs4_client *clp); |
619 | extern void nfsd4_probe_callback_sync(struct nfs4_client *clp); | 620 | extern void nfsd4_probe_callback_sync(struct nfs4_client *clp); |
620 | extern void nfsd4_change_callback(struct nfs4_client *clp, struct nfs4_cb_conn *); | 621 | extern void nfsd4_change_callback(struct nfs4_client *clp, struct nfs4_cb_conn *); |