nfsd: Add missing gen_confirm in nfsd4_setclientid()
authorKinglong Mee <kinglongmee@gmail.com>
Mon, 13 Jul 2015 09:29:41 +0000 (17:29 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 10 Aug 2015 20:05:48 +0000 (16:05 -0400)
commit41eb16702c6e4294685e65e0a63f11cfc816cb96
treee61a4ce1a5d4af16ccf8acbba5bd63091cda54e0
parent19311aa8353644c18d609291e0078843d1c22ece
nfsd: Add missing gen_confirm in nfsd4_setclientid()

Commit 294ac32e99 "nfsd: protect clid and verifier generation with
client_lock" moved gen_confirm() to gen_clid().

After that commit, setclientid will return a bad reply with all-zero
verifier after copy_clid().

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c