nfsd/callback: Cleanup callback cred on shutdown
authorKinglong Mee <kinglongmee@gmail.com>
Sun, 5 Feb 2017 01:57:07 +0000 (09:57 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 17 Feb 2017 21:26:00 +0000 (16:26 -0500)
commitf7d1ddbe7648af7460d23688c8c131342eb43b3a
treefc2e10cdd756b1233e91594117cd6148bc84feb2
parentc3821b3497aae1752cb2be72c32f650ef24c8820
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>
fs/nfsd/nfs4callback.c
fs/nfsd/nfs4state.c
fs/nfsd/state.h