nfsd4: confirm only on succesful create_session
authorJ. Bruce Fields <bfields@redhat.com>
Sat, 2 Oct 2010 21:04:00 +0000 (17:04 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 21 Oct 2010 14:11:52 +0000 (10:11 -0400)
commit86c3e16cc7aace4d1143952813b6cc2a80c51295
tree9e05be561cf85e5e5eab57464c0cc63a3cdf7087
parentac7c46f29a44f6d7f6d2e36dc874c0b7056acad2
nfsd4: confirm only on succesful create_session

Following rfc 5661, section 18.36.4: "If the session is not successfully
created, then no changes are made to any client records on the server."
We shouldn't be confirming or incrementing the sequence id in this case.

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