nfsd: return CLID_INUSE for unexpected SETCLIENTID_CONFIRM case
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 1 Sep 2015 17:40:53 +0000 (13:40 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 1 Sep 2015 17:53:40 +0000 (13:53 -0400)
commitf984a7ce58ea9a12eca7f960bdf68124c8589b60
tree23f161f7d054798bcb1b1d614cefdbae71997979
parent3fcbbd244ed1d20dc0eb7d48d729503992fa9b7d
nfsd: return CLID_INUSE for unexpected SETCLIENTID_CONFIRM case

Somebody with a Solaris client was hitting this case.  We haven't
figured out why yet, and don't have a reproducer.  Meanwhile Frank
noticed that RFC 7530 actually recommends CLID_INUSE for this case.
Unlikely to help the original reporter, but may as well fix it.

Reported-by: Frank Filz <ffilzlnx@mindspring.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c